xen: include xen/guest_access.h rather than asm/guest_access.h
authorJulien Grall <jgrall@amazon.com>
Sat, 4 Apr 2020 10:56:43 +0000 (11:56 +0100)
committerJulien Grall <jgrall@amazon.com>
Mon, 21 Sep 2020 16:09:11 +0000 (17:09 +0100)
commit6edcdb4e5716626b2206f2b627e57a38ad2c3f59
tree74056df210c94138d90a2a3a4de9bd543d20f13e
parentc7e3021a71fdb4f2d5dbad90ba83ce35bc21cda6
xen: include xen/guest_access.h rather than asm/guest_access.h

Only a few places are actually including asm/guest_access.h. While this
is fine today, a follow-up patch will want to move most of the helpers
from asm/guest_access.h to xen/guest_access.h.

To prepare the move, everyone should include xen/guest_access.h rather
than asm/guest_access.h.

Interestingly, asm-arm/guest_access.h includes xen/guest_access.h. The
inclusion is now removed as no-one but the latter should include the
former.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: Paul Durrant <paul@xen.org>
12 files changed:
xen/arch/arm/decode.c
xen/arch/arm/domain.c
xen/arch/arm/guest_walk.c
xen/arch/arm/guestcopy.c
xen/arch/arm/kernel.c
xen/arch/arm/vgic-v3-its.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/viridian/viridian.c
xen/arch/x86/hvm/vmx/vmx.c
xen/common/libelf/libelf-loader.c
xen/include/asm-arm/guest_access.h
xen/lib/x86/private.h