summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 19:02:58 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-26 19:02:58 +0200
commita93a1329271038f0e8337061d3b41b3b212a851e (patch)
treee33d0e6a2959e8aae8a7a9cb03581340010d752c
parentMerge branch 'drm-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
parentblock: fix warning with calling smp_processor_id() in preemptible section (diff)
downloadlinux-a93a1329271038f0e8337061d3b41b3b212a851e.tar.xz
linux-a93a1329271038f0e8337061d3b41b3b212a851e.zip
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
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index f8cb09951830..f9255815a5bb 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -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) {