-
- Downloads
smp, generic: introduce arch_disable_smp_support() instead of disable_ioapic_setup()
Impact: cleanup
disable_ioapic_setup() in init/main.c is ugly as the function is
x86-specific. The #ifdef inline prototype there is ugly too.
Replace it with a generic arch_disable_smp_support() function - which
has a weak alias for non-x86 architectures and for non-ioapic x86 builds.
Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- arch/x86/include/asm/io_apic.h 0 additions, 9 deletionsarch/x86/include/asm/io_apic.h
- arch/x86/kernel/apic.c 1 addition, 3 deletionsarch/x86/kernel/apic.c
- arch/x86/kernel/io_apic.c 10 additions, 1 deletionarch/x86/kernel/io_apic.c
- arch/x86/kernel/smpboot.c 1 addition, 1 deletionarch/x86/kernel/smpboot.c
- include/linux/smp.h 6 additions, 0 deletionsinclude/linux/smp.h
- init/main.c 6 additions, 6 deletionsinit/main.c
Loading
Please register or sign in to comment