aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2020-05-27 05:24:18 +0000
committerJens Axboe <[email protected]>2020-05-27 11:21:23 +0000
commitb2d76adbc0828e0f108567973bcc500ed1abc139 (patch)
tree52ec69527822f170482e23c977c1bdaa9610fb5c /drivers/fpga/zynq-fpga.c
parentblock: remove rcu_read_lock() from part_stat_lock() (diff)
downloadkernel-b2d76adbc0828e0f108567973bcc500ed1abc139.tar.gz
kernel-b2d76adbc0828e0f108567973bcc500ed1abc139.zip
block: use __this_cpu_add() instead of access by smp_processor_id()
Most architectures have fast path to access percpu for current cpu. The required preempt_disable() is provided by part_stat_lock(). [hch: rebased] Signed-off-by: Konstantin Khlebnikov <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions