xen/percpu: Make DECLARE_PER_CPU() and __DEFINE_PER_CPU() common
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 26 Jul 2019 18:48:48 +0000 (19:48 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Aug 2019 13:37:13 +0000 (14:37 +0100)
commit3fda2214f1a7ff972427812e50dc6f1f61cf594f
tree6f1bd3eccf0db380ab1b8a38fb295a1146d76b68
parent7888440625617693487495a7842e6a991ead2647
xen/percpu: Make DECLARE_PER_CPU() and __DEFINE_PER_CPU() common

These macros are identical across the architectures, and shouldn't be separate
from the DEFINE_PER_CPU*() infrastructure.

This converts the final asm/percpu.h includes, which were all using
DECLARE_PER_CPU(), to include xen/percpu.h instead.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/cpu/mcheck/mce.h
xen/include/asm-arm/percpu.h
xen/include/asm-x86/cpuid.h
xen/include/asm-x86/irq.h
xen/include/asm-x86/percpu.h
xen/include/xen/percpu.h
xen/xsm/flask/include/avc.h