[PATCH] x86/xen: Fix build failure without CONFIG_XEN_PVH
From: Ted Percival
Date: Tue Oct 07 2014 - 12:55:52 EST
Fixes: 851861bb4cc0 ("x86/xen: Set EFER.NX and EFER.SCE in PVH guests")
Signed-off-by: Ted Percival <ted@xxxxxxxxxx>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/