mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 01:51:53 +00:00
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
* 'for-linus' of git://git.kernel.dk/linux-block: block: fix warning with calling smp_processor_id() in preemptible section
This commit is contained in:
commit
a93a132927
@ -1283,7 +1283,7 @@ get_rq:
|
||||
|
||||
if (test_bit(QUEUE_FLAG_SAME_COMP, &q->queue_flags) ||
|
||||
bio_flagged(bio, BIO_CPU_AFFINE))
|
||||
req->cpu = smp_processor_id();
|
||||
req->cpu = raw_smp_processor_id();
|
||||
|
||||
plug = current->plug;
|
||||
if (plug) {
|
||||
|
Loading…
Reference in New Issue
Block a user