x86/guest: fix build when HVM and !PV32
authorJan Beulich <jbeulich@suse.com>
Wed, 26 May 2021 07:33:02 +0000 (09:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 May 2021 07:33:02 +0000 (09:33 +0200)
The commit referenced below still wasn't careful enough - with COMPAT we
will have a compat_handle_okay() visible already, which we first need to
get rid of.

Fixes: bd1e7b47bac0 ("x86/shim: fix build when !PV32")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/pv/shim.c

index 8164a0fbde2ef457d740365bdece3e071a9cbe41..d9704121a73965402839c0bd93872cd8ec63d892 100644 (file)
@@ -679,6 +679,7 @@ void pv_shim_inject_evtchn(unsigned int port)
 # include <compat/grant_table.h>
 #else
 # define compat_gnttab_setup_table gnttab_setup_table
+# undef compat_handle_okay
 # define compat_handle_okay guest_handle_okay
 #endif