x86: Rework arch_disable_smp_support() for x86
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 22 Feb 2011 14:38:05 +0000 (15:38 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 23 Feb 2011 10:38:45 +0000 (11:38 +0100)
commit7167d08e780a722fa79ea414fc4e72bc00751392
treef6a103d7de511142c362bc216e886a4eb2ac69bc
parentb6a1432da81fa387d76215108dc9f6ea6d343aed
x86: Rework arch_disable_smp_support() for x86

Currently arch_disable_smp_support() on x86 disables only the
support for the IOAPIC and is also compiled in if SMP-support is
not.

Therefore this function is renamed to disable_ioapic_support(),
which meets its purpose and is only compiled in the kernel
when IOAPIC support is also.

A new arch_disable_smp_support() is created in smpboot.c,
which calls disable_ioapic_support() and gets only compiled
in the kernel when SMP support is also.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
LKML-Reference: <1298385487-4708-3-git-send-email-henne@nachtwindheim.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/smpboot.c