aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBrian Gerst <[email protected]>2020-07-20 13:49:17 -0700
committerThomas Gleixner <[email protected]>2020-07-23 11:46:39 +0200
commitbb631e3002840706362a7d76e3ebb3604cce91a7 (patch)
tree44ac5138f0738223021c2e0322d408f345300a6d /drivers/fpga/fpga-mgr.c
parentc175acc14719e69ecec4dafbb642a7f38c76c064 (diff)
x86/percpu: Clean up percpu_from_op()
The core percpu macros already have a switch on the data size, so the switch in the x86 code is redundant and produces more dead code. Also use appropriate types for the width of the instructions. This avoids errors when compiling with Clang. Signed-off-by: Brian Gerst <[email protected]> Signed-off-by: Nick Desaulniers <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Nick Desaulniers <[email protected]> Tested-by: Sedat Dilek <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Acked-by: Linus Torvalds <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Dennis Zhou <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions