提交 0260c196 编写于 作者: J Jeremy Fitzhardinge 提交者: Andi Kleen

[PATCH] i386: PARAVIRT: fix startup_ipi_hook config dependency

startup_ipi_hook depends on CONFIG_X86_LOCAL_APIC, so move it to the
right part of the paravirt_ops initialization.
Signed-off-by: NJeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: NAndi Kleen <ak@suse.de>
上级 25c16b99
...@@ -292,6 +292,7 @@ struct paravirt_ops paravirt_ops = { ...@@ -292,6 +292,7 @@ struct paravirt_ops paravirt_ops = {
.apic_read = native_apic_read, .apic_read = native_apic_read,
.setup_boot_clock = setup_boot_APIC_clock, .setup_boot_clock = setup_boot_APIC_clock,
.setup_secondary_clock = setup_secondary_APIC_clock, .setup_secondary_clock = setup_secondary_APIC_clock,
.startup_ipi_hook = paravirt_nop,
#endif #endif
.set_lazy_mode = paravirt_nop, .set_lazy_mode = paravirt_nop,
...@@ -342,8 +343,6 @@ struct paravirt_ops paravirt_ops = { ...@@ -342,8 +343,6 @@ struct paravirt_ops paravirt_ops = {
.dup_mmap = paravirt_nop, .dup_mmap = paravirt_nop,
.exit_mmap = paravirt_nop, .exit_mmap = paravirt_nop,
.activate_mm = paravirt_nop, .activate_mm = paravirt_nop,
.startup_ipi_hook = paravirt_nop,
}; };
EXPORT_SYMBOL(paravirt_ops); EXPORT_SYMBOL(paravirt_ops);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册