x86: avoid building COMPAT code when !HVM && !PV32
authorJan Beulich <jbeulich@suse.com>
Thu, 15 Apr 2021 11:43:51 +0000 (13:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 Apr 2021 11:43:51 +0000 (13:43 +0200)
commitd23d792478db4fd2984fb0b70611a2e97eceaa8c
tree45a88608b3b36a2588924a0b707dbe940f69faaf
parent527922008bcedb53f01cf91428303d650fb67360
x86: avoid building COMPAT code when !HVM && !PV32

It was probably a mistake to, over time, drop various CONFIG_COMPAT
conditionals from x86-specific code, as we now have a build
configuration again where we'd prefer this to be unset. Arrange for
CONFIG_COMPAT to actually be off in this case, dealing with fallout.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wl@xen.org>
21 files changed:
xen/arch/x86/Kconfig
xen/arch/x86/Makefile
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/vpmu.c
xen/arch/x86/domain.c
xen/arch/x86/domctl.c
xen/arch/x86/efi/Makefile
xen/arch/x86/hypercall.c
xen/arch/x86/oprofile/backtrace.c
xen/arch/x86/oprofile/xenoprof.c
xen/arch/x86/pv/dom0_build.c
xen/arch/x86/setup.c
xen/arch/x86/x86_64/Makefile
xen/arch/x86/x86_64/mm.c
xen/common/Kconfig
xen/common/time.c
xen/include/asm-x86/compat.h
xen/include/asm-x86/hypercall.h
xen/include/asm-x86/shared.h
xen/include/xen/compat.h
xen/include/xen/sched.h