diff --git a/xen/arch/x86/pv/shim.c b/xen/arch/x86/pv/shim.c index 8164a0fbde..d9704121a7 100644 --- a/xen/arch/x86/pv/shim.c +++ b/xen/arch/x86/pv/shim.c @@ -679,6 +679,7 @@ void pv_shim_inject_evtchn(unsigned int port) # include #else # define compat_gnttab_setup_table gnttab_setup_table +# undef compat_handle_okay # define compat_handle_okay guest_handle_okay #endif