Messages in this thread Patch in this message | | | From | James Bottomley <> | Subject | [PATCH 03/13] [VOYAGER] x86: add prefill_possible_map to x86_quirks | Date | Sun, 8 Mar 2009 11:48:16 -0500 |
| |
Voyager needs a different prefill of the possible map, so abstract the operation through the x86 quirks mechanism.
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> --- arch/x86/include/asm/setup.h | 1 + arch/x86/kernel/setup.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index 05c6f6b..7782327 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h @@ -31,6 +31,7 @@ struct x86_quirks { void (*smp_read_mpc_oem)(struct mpc_oemtable *oemtable, unsigned short oemsize); int (*setup_ioapic_ids)(void); + void (*prefill_possible_map)(void); }; extern void x86_quirk_pre_intr_init(void); diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 4c54bc0..797f7d7 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -937,7 +937,10 @@ void __init setup_arch(char **cmdline_p) get_smp_config(); #endif - prefill_possible_map(); + if (x86_quirks->prefill_possible_map) + x86_quirks->prefill_possible_map(); + else + prefill_possible_map(); #ifdef CONFIG_X86_64 init_cpu_to_node(); -- 1.6.1.3
| |