From: Jens Axboe Date: Wed, 16 Apr 2014 15:23:48 +0000 (-0600) Subject: blk-mq: don't use preempt_count() to check for right CPU X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~47^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1270d5df6a005e1248e87042159a799cc4b2c9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed