]> xenbits.xensource.com Git - people/pauldu/xen.git/commitdiff
x86: fix build of PV shim when !GRANT_TABLE
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Oct 2020 13:30:35 +0000 (14:30 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Oct 2020 13:30:35 +0000 (14:30 +0100)
To do its compat translation, shim code needs to include the compat
header. For this to work, this header first of all needs to be
generated.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/Makefile

index 5c2f57a0f64546f6f49bf5f92c3a58a557b6d756..75e982a3166e74c680a971deb06176c722c14fe0 100644 (file)
@@ -24,6 +24,7 @@ headers-$(CONFIG_X86)     += compat/arch-x86/xen-$(compat-arch-y).h
 headers-$(CONFIG_ARGO)    += compat/argo.h
 headers-$(CONFIG_PV)      += compat/callback.h
 headers-$(CONFIG_GRANT_TABLE) += compat/grant_table.h
+headers-$(CONFIG_PV_SHIM) += compat/grant_table.h
 headers-$(CONFIG_HVM)     += compat/hvm/dm_op.h
 headers-$(CONFIG_HVM)     += compat/hvm/hvm_op.h
 headers-$(CONFIG_HVM)     += compat/hvm/hvm_vcpu.h