Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fd1270d5 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@fb.com>
parent 8e1a6287
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment