x86/percpu, xen: Correct PER_CPU_VAR() usage to include symbol and its addend
authorUros Bizjak <ubizjak@gmail.com>
Tue, 17 Oct 2023 16:27:33 +0000 (18:27 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 20 Oct 2023 10:19:51 +0000 (12:19 +0200)
commitaa47f90cd4331e1809d56c72fcbdbbe0a85e5992
tree5256ad236acd6cbcab1ede2b4428f65fbed3f3ff
parent39d64ee59ceee0fb61243eab3c4b7b4492f80df2
x86/percpu, xen: Correct PER_CPU_VAR() usage to include symbol and its addend

The PER_CPU_VAR() macro should be applied to a symbol and its addend.
Inconsistent usage is currently harmless, but needs to be corrected
before %rip-relative addressing is introduced to the PER_CPU_VAR() macro.

No functional changes intended.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: linux-kernel@vger.kernel.org
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sean Christopherson <seanjc@google.com>
arch/x86/xen/xen-asm.S