Skip to contentSkip to conversation

x86_64/paravirt: fix compile errors with IA32_EMULATION off

PATCH Applied Jeremy Fitzhardinge 2 participants 2 messages Jun 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64/paravirt: fix compile errors with IA32_EMULATION off

---
arch/x86/kernel/paravirt.c | 4 ++++

1 file changed, 4 insertions(+)

===================================================================

arch/x86/kernel/paravirt.c +0 -0
@@ -349,9 +349,13 @@
	.write_idt_entry = native_write_idt_entry,
	.load_sp0 = native_load_sp0,

+#if defined(CONFIG_X86_32) || defined(CONFIG_IA32_EMULATION)
.irq_enable_sysexit = native_irq_enable_sysexit,
+#endif
#ifdef CONFIG_X86_64
+#ifdef CONFIG_IA32_EMULATION
.usergs_sysret32 = native_usergs_sysret32,
+#endif
.usergs_sysret64 = native_usergs_sysret64,
#endif
.iret = native_iret,