2014-10-07 16:55:48

by Ted Percival

[permalink] [raw]
Subject: [PATCH] x86/xen: Fix build failure without CONFIG_XEN_PVH

Fixes: 851861bb4cc0 ("x86/xen: Set EFER.NX and EFER.SCE in PVH guests")
Signed-off-by: Ted Percival <[email protected]>
---
arch/x86/xen/smp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/smp.h b/arch/x86/xen/smp.h
index eed00a8..963d62a 100644
--- a/arch/x86/xen/smp.h
+++ b/arch/x86/xen/smp.h
@@ -11,7 +11,7 @@ extern void xen_send_IPI_self(int vector);
#ifdef CONFIG_XEN_PVH
extern void xen_pvh_early_cpu_init(int cpu, bool entry);
#else
-static inline void xen_pvh_early_cpu_init(int cpu, bool entry);
+static inline void xen_pvh_early_cpu_init(int cpu, bool entry)
{
}
#endif
--
1.9.1


2014-10-07 17:24:28

by David Vrabel

[permalink] [raw]
Subject: Re: [PATCH] x86/xen: Fix build failure without CONFIG_XEN_PVH

On 07/10/14 17:55, Ted Percival wrote:
> Fixes: 851861bb4cc0 ("x86/xen: Set EFER.NX and EFER.SCE in PVH guests")
> Signed-off-by: Ted Percival <[email protected]>

I've already pushed a fixed version to linux-next.

Thanks.

David