[PATCH] [18/34] i386: PARAVIRT: fix startup_ipi_hook config dependency
- From: Andi Kleen <ak@xxxxxxx>
- Date: Mon, 30 Apr 2007 17:49:50 +0200 (CEST)
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
startup_ipi_hook depends on CONFIG_X86_LOCAL_APIC, so move it to the
right part of the paravirt_ops initialization.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Signed-off-by: Andi Kleen <ak@xxxxxxx>
---
arch/i386/kernel/paravirt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
===================================================================
Index: linux/arch/i386/kernel/paravirt.c
===================================================================
--- linux.orig/arch/i386/kernel/paravirt.c
+++ linux/arch/i386/kernel/paravirt.c
@@ -292,6 +292,7 @@ struct paravirt_ops paravirt_ops = {
.apic_read = native_apic_read,
.setup_boot_clock = setup_boot_APIC_clock,
.setup_secondary_clock = setup_secondary_APIC_clock,
+ .startup_ipi_hook = paravirt_nop,
#endif
.set_lazy_mode = paravirt_nop,
@@ -342,8 +343,6 @@ struct paravirt_ops paravirt_ops = {
.dup_mmap = paravirt_nop,
.exit_mmap = paravirt_nop,
.activate_mm = paravirt_nop,
-
- .startup_ipi_hook = paravirt_nop,
};
EXPORT_SYMBOL(paravirt_ops);
-
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/
- References:
- Prev by Date: Re: [patches] [PATCH] [21/22] x86_64: Extend bzImage protocol for relocatable bzImage
- Next by Date: Re: 2.6.21-ext4-1
- Previous by thread: [PATCH] [20/34] i386: avoid checking for cpu gone when CONFIG_HOTPLUG_CPU not defined
- Next by thread: [GIT PATCH] SCSI updates for 2.6.21
- Index(es):
Relevant Pages
- Re: Still get build warnings - gcc-3.4.6 - 2.6.17.8
... EXPORT_SYMBOL generates "is deprecated" noise ... More majordomo info
at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/
... (Linux-Kernel) - Re: [PATCH 4/5] x86: Add config variables for SMP_MAX
... the right fix is below. ... More majordomo info at http://vger.kernel.org/majordomo-info.html
... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - [03/17] i386: Resolve dependency of asm-i386/pgtable.h on highmem.h
... #ifdef CONFIG_HIGHMEM ... More majordomo info at http://vger.kernel.org/majordomo-info.html
... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - [PATCH][isapnp] Fix a potential NULL pointer dereference in isapnp_read_tag()
... unsigned char tag, tmp; ... More majordomo info at http://vger.kernel.org/majordomo-info.html
... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel) - [PATCH 2/9] ide: move ide_tf_{load,read} to ide-iops.c
... ide_task_t args; ... More majordomo info at http://vger.kernel.org/majordomo-info.html
... Please read the FAQ at http://www.tux.org/lkml/ ... (Linux-Kernel)