projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae960a
)
x86, paravirt, 64-bit: fix compile errors with IA32_EMULATION off
author
Jeremy Fitzhardinge
<
[email protected]
>
Mon, 30 Jun 2008 18:10:53 +0000
(11:10 -0700)
committer
Ingo Molnar
<
[email protected]
>
Tue, 8 Jul 2008 11:16:13 +0000
(13:16 +0200)
Signed-off-by: Jeremy Fitzhardinge <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/paravirt.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/paravirt.c
b/arch/x86/kernel/paravirt.c
index 27819e3e4245e7316e0ce141402dc5334a8c44bb..e7e5652f65bcbc2933bb0fd4e752ffbc8f1f01a2 100644
(file)
--- a/
arch/x86/kernel/paravirt.c
+++ b/
arch/x86/kernel/paravirt.c
@@
-337,9
+337,13
@@
struct pv_cpu_ops pv_cpu_ops = {
.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,