git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
757c26b
)
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
author
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Jul 2011 17:02:58 +0000
(10:02 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 26 Jul 2011 17:02:58 +0000
(10:02 -0700)
* 'for-linus' of git://git.kernel.dk/linux-block:
block: fix warning with calling smp_processor_id() in preemptible section
block/blk-core.c
patch
|
blob
|
history
diff --git
a/block/blk-core.c
b/block/blk-core.c
index
f8cb099
..
f925581
100644
(file)
--- 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) {