x86: don't include domctl and alike in shim-exclusive builds
authorJan Beulich <jbeulich@suse.com>
Thu, 27 Aug 2020 07:52:45 +0000 (09:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 27 Aug 2020 07:52:45 +0000 (09:52 +0200)
commit8b5b49ceb3d9aaf87776584fdf0926fa6f39eb2d
treeb0d458bbb9bf0ecf9470db55717c4484a8246f68
parenta1568878df7d914853ba8c712aaa2315cd33ed3c
x86: don't include domctl and alike in shim-exclusive builds

There is no need for platform-wide, system-wide, or per-domain control
in this case. Hence avoid including this dead code in the build.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/Makefile
xen/arch/x86/mm/paging.c
xen/arch/x86/pv/hypercall.c
xen/common/Makefile
xen/include/asm-x86/paging.h
xen/include/xen/domain.h