x86/percpu: Move raw_percpu_xchg_op() to a better place
authorUros Bizjak <ubizjak@gmail.com>
Wed, 20 Mar 2024 08:30:41 +0000 (09:30 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 20 Mar 2024 11:29:17 +0000 (12:29 +0100)
commitce99b9c8daff3352a2ae0c72acf44e0663095fea
tree9fa4fcc2ebbb8bf484b23076cf85fb6b7ae0aae8
parent0539084639f3835c8d0b798e6659ec14a266b4f1
x86/percpu: Move raw_percpu_xchg_op() to a better place

Move raw_percpu_xchg_op() together with this_percpu_xchg_op()
and trivially rename some internal variables to harmonize them
between macro implementations.

No functional changes intended.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20240320083127.493250-2-ubizjak@gmail.com
arch/x86/include/asm/percpu.h