xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86/guest: fix build when HVM and !PV32
@ 2021-05-25 13:20 Jan Beulich
  2021-05-25 14:46 ` Roger Pau Monné
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2021-05-25 13:20 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrew Cooper, Wei Liu, Roger Pau Monné

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>

--- 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
 # 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
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] x86/guest: fix build when HVM and !PV32
  2021-05-25 13:20 [PATCH] x86/guest: fix build when HVM and !PV32 Jan Beulich
@ 2021-05-25 14:46 ` Roger Pau Monné
  0 siblings, 0 replies; 2+ messages in thread
From: Roger Pau Monné @ 2021-05-25 14:46 UTC (permalink / raw)
  To: Jan Beulich; +Cc: xen-devel, Andrew Cooper, Wei Liu

On Tue, May 25, 2021 at 03:20:56PM +0200, Jan Beulich wrote:
> 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>

Thanks, Roger.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-25 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 13:20 [PATCH] x86/guest: fix build when HVM and !PV32 Jan Beulich
2021-05-25 14:46 ` Roger Pau Monné

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).