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:
Linus Torvalds 2011-07-26 10:02:58 -07:00
commit a93a132927

View File

@ -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) {