commit | fd1270d5df6a005e1248e87042159a799cc4b2c9 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Apr 16 09:23:48 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 16 14:15:24 2014 -0600 |
tree | 51c0235b1b7fa1df420ac023a35ff05d51867eda | |
parent | 8e1a6287d950ca386a738ff2043b3e2252fc0e76 [diff] |
blk-mq: don't use preempt_count() to check for right CPU 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>