x86/percpu: Correct PER_CPU_VAR() usage to include symbol and its addend
authorUros Bizjak <ubizjak@gmail.com>
Tue, 17 Oct 2023 16:27:32 +0000 (18:27 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 20 Oct 2023 10:19:51 +0000 (12:19 +0200)
commit39d64ee59ceee0fb61243eab3c4b7b4492f80df2
tree6d231223bc0c871b3a0295821a7d296463caa1c9
parent24b8a23638cbf92449c353f828b1d309548c78f4
x86/percpu: 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>
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/entry/calling.h
arch/x86/entry/entry_32.S
arch/x86/entry/entry_64.S
arch/x86/kernel/head_64.S