From: Glauber de Oliveira Costa Date: Wed, 19 Mar 2008 17:26:06 +0000 (-0300) Subject: x86: assign nr_ioapics = 0 in smpboot_hooks.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3fa7b3487a1317f7d3be3043dbea316ca75abed5;p=openwrt%2Fstaging%2Fblogic.git x86: assign nr_ioapics = 0 in smpboot_hooks.h change smpboot_setup_io_apic() by to match x86_64 behaviour Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/mach-default/smpboot_hooks.h b/include/asm-x86/mach-default/smpboot_hooks.h index 7f45f6311059..8e1c6c06d057 100644 --- a/include/asm-x86/mach-default/smpboot_hooks.h +++ b/include/asm-x86/mach-default/smpboot_hooks.h @@ -41,4 +41,6 @@ static inline void smpboot_setup_io_apic(void) */ if (!skip_ioapic_setup && nr_ioapics) setup_IO_APIC(); + else + nr_ioapics = 0; }