x86/percpu: Define PER_CPU_VAR macro also for !__ASSEMBLY__
authorUros Bizjak <ubizjak@gmail.com>
Sun, 5 Nov 2023 21:34:35 +0000 (22:34 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 30 Nov 2023 19:06:16 +0000 (20:06 +0100)
commit43bda69ed9e3b86d0ba5ff9256e437d50074d7d5
treeffca0e834d4ce04cb7ea3ee08ee2af7ab00e294d
parent0548eb067ed664b93043e033295ca71e3e706245
x86/percpu: Define PER_CPU_VAR macro also for !__ASSEMBLY__

Some C source files define 'asm' statements that use PER_CPU_VAR,
so make PER_CPU_VAR macro available also without __ASSEMBLY__.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231105213731.1878100-2-ubizjak@gmail.com
arch/x86/include/asm/percpu.h