diff options
author | Brian Gerst <[email protected]> | 2020-07-20 13:49:18 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-07-23 11:46:40 +0200 |
commit | 33e5614a435ff8047d768e6501454ae1cc7f131f (patch) | |
tree | 792e7f3da6b610755e66decbbffc37294d7c7a45 /drivers/fpga/fpga-mgr.c | |
parent | bb631e3002840706362a7d76e3ebb3604cce91a7 (diff) |
x86/percpu: Clean up percpu_add_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