git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e1a628
)
blk-mq: don't use preempt_count() to check for right CPU
author
Jens Axboe
<axboe@fb.com>
Wed, 16 Apr 2014 15:23:48 +0000
(09:23 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 16 Apr 2014 20:15:24 +0000
(14:15 -0600)
UP or CONFIG_PREEMPT_NONE will return 0, and what we really
want to check is whether or not we are on the right CPU.
So don't make PREEMPT part of this, just test the CPU in
the mask directly.
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
patch
|
blob
|
history
diff --cc
block/blk-mq.c
Simple merge