summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 06:50:47 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:22 +0100
commit72ce016583916fb7ffcbaa6a3e1f8f731b79a865 (patch)
treecd05f735f6b47278ecacebca6394dccf649c9f7e /arch/x86/kernel/acpi
parentd190cb87c4503014353f2310c4bfa2268fa7111d (diff)
downloadop-kernel-dev-72ce016583916fb7ffcbaa6a3e1f8f731b79a865.zip
op-kernel-dev-72ce016583916fb7ffcbaa6a3e1f8f731b79a865.tar.gz
x86, apic: clean up ->setup_apic_routing()
- separate the namespace - remove macros - remove namespace clash on 64-bit Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/acpi')
-rw-r--r--arch/x86/kernel/acpi/boot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 314fe0d..5391631 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -1360,9 +1360,8 @@ static void __init acpi_process_madt(void)
acpi_ioapic = 1;
smp_found_config = 1;
-#ifdef CONFIG_X86_32
- setup_apic_routing();
-#endif
+ if (apic->setup_apic_routing)
+ apic->setup_apic_routing();
}
}
if (error == -EINVAL) {
OpenPOWER on IntegriCloud