summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-default
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 18:26:06 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:04 +0200
commit3fa7b3487a1317f7d3be3043dbea316ca75abed5 (patch)
treeba0bb16fec7aa939430b40587f6b604ef315c18d /include/asm-x86/mach-default
parentx86: additions to i386 native_smp_prepare_cpus. (diff)
downloadlinux-3fa7b3487a1317f7d3be3043dbea316ca75abed5.tar.xz
linux-3fa7b3487a1317f7d3be3043dbea316ca75abed5.zip
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 <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/mach-default')
-rw-r--r--include/asm-x86/mach-default/smpboot_hooks.h2
1 files changed, 2 insertions, 0 deletions
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;
}