aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBrian Gerst <[email protected]>2020-07-20 13:49:16 -0700
committerThomas Gleixner <[email protected]>2020-07-23 11:46:39 +0200
commitc175acc14719e69ecec4dafbb642a7f38c76c064 (patch)
treebcc6c7937706fbf6762d4d68c6e5cfba346a800c /drivers/fpga/fpga-mgr.c
parent6865dc3ae93b9acb336ca48bd7b2db3446d89370 (diff)
x86/percpu: Clean up percpu_to_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