summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-04-16 09:23:48 -0600
committerJens Axboe <axboe@fb.com>2014-04-16 14:15:24 -0600
commitfd1270d5df6a005e1248e87042159a799cc4b2c9 (patch)
tree51c0235b1b7fa1df420ac023a35ff05d51867eda /tools/perf/scripts/python
parent8e1a6287d950ca386a738ff2043b3e2252fc0e76 (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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions