vmevent: reduce include dependencies
authorJan Beulich <jbeulich@suse.com>
Tue, 10 Mar 2020 14:38:25 +0000 (15:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Mar 2020 14:38:25 +0000 (15:38 +0100)
commit0198960edbf0e681cef59fd81c994643e7b148e0
tree08db1a76608ba7b05a1b8ff9b093cfc06a9d628f
parent0604e1549ac522443f01d49774f73cfa67561358
vmevent: reduce include dependencies

There's no need for virtually everything to include public/vm_event.h.
Move its inclusion out of sched.h. This requires using the non-typedef
name in p2m_mem_paging_resume()'s prototype; by not changing the
function definition 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: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Alexandru Isaila <aisaila@bitdefender.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
xen/arch/x86/livepatch.c
xen/include/asm-x86/p2m.h
xen/include/asm-x86/vm_event.h
xen/include/xen/sched.h
xen/include/xen/vm_event.h