aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mach-generic
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 06:43:18 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:25 -0500
commitd83093b50416f4ca59d3a84b2ddc217748214d64 (patch)
tree7dd0bb6c29ceff7f37941eace690ac157b58338f /arch/x86/include/asm/mach-generic
parent8058714a41afc4c983acb274b1adf7bd3cfe7f6e (diff)
x86: refactor ->setup_portio_remap() subarch methods
Only NUMAQ has a real ->setup_portio_remap() method, the other subarchitectures define it but keep it empty. So mark the vector as NULL, extend the generic code to handle NULL -setup_portio_remap() entries and remove all the empty handlers. Also move the NUMAQ method from the header file into the apic driver .c file. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/mach-generic')
-rw-r--r--arch/x86/include/asm/mach-generic/mach_apic.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mach-generic/mach_apic.h b/arch/x86/include/asm/mach-generic/mach_apic.h
index 997618f2eb5c..393a97c5685f 100644
--- a/arch/x86/include/asm/mach-generic/mach_apic.h
+++ b/arch/x86/include/asm/mach-generic/mach_apic.h
@@ -3,7 +3,6 @@
3 3
4#include <asm/genapic.h> 4#include <asm/genapic.h>
5 5
6#define setup_portio_remap (apic->setup_portio_remap)
7#define check_phys_apicid_present (apic->check_phys_apicid_present) 6#define check_phys_apicid_present (apic->check_phys_apicid_present)
8#define cpu_mask_to_apicid (apic->cpu_mask_to_apicid) 7#define cpu_mask_to_apicid (apic->cpu_mask_to_apicid)
9#define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and) 8#define cpu_mask_to_apicid_and (apic->cpu_mask_to_apicid_and)