x86: introduce smpboot_clear_io_apic
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 19 Mar 2008 17:26:10 +0000 (14:26 -0300)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:04 +0000 (17:41 +0200)
commit9f3734f631267d2f36008833b62670ca342ac000
treead9a7b6c1b0ab765556df7b8716effb7d148ffd8
parent771263d31114adb5e234364a58280c876c2ed182
x86: introduce smpboot_clear_io_apic

x86_64 has two nr_ioapics = 0 statements. In 32-bit, it can be done
too. We do it through the smpboot_clear_io_apic() inline function,
to cope with subarchitectures (visws) that does not compile mpparse in

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot_32.c
arch/x86/kernel/smpboot_64.c
include/asm-x86/mach-default/smpboot_hooks.h
include/asm-x86/mach-visws/smpboot_hooks.h