memaccess: reduce include dependencies
authorJan Beulich <jbeulich@suse.com>
Tue, 10 Mar 2020 16:06:57 +0000 (17:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Mar 2020 16:06:57 +0000 (17:06 +0100)
commite19d3a942e4b6f6c5b19287a4a6f5020bdab2936
treee2609978bc136928d2fd9c91dd173ae37ee87674
parent15b6242230ba1cf92c774ad2b14f4f25411aa644
memaccess: reduce include dependencies

The common header doesn't itself need to include public/vm_event.h nor
public/memory.h. Drop their inclusion. This requires using the non-
typedef names in two prototypes and an inline function; by not changing
the callers and function definitions at the same time it'll remain
certain that the build would fail if the typedef itself was changed.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/include/asm-arm/mem_access.h
xen/include/asm-x86/mem_access.h
xen/include/xen/mem_access.h