diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 06:43:18 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:25 -0500 |
commit | d83093b50416f4ca59d3a84b2ddc217748214d64 (patch) | |
tree | 7dd0bb6c29ceff7f37941eace690ac157b58338f /arch/x86/include/asm/mach-default | |
parent | 8058714a41afc4c983acb274b1adf7bd3cfe7f6e (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-default')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_apic.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index 22683e5b82be..54c20e19e280 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -132,10 +132,6 @@ static inline physid_mask_t default_apicid_to_cpu_present(int phys_apicid) | |||
132 | return physid_mask_of_physid(phys_apicid); | 132 | return physid_mask_of_physid(phys_apicid); |
133 | } | 133 | } |
134 | 134 | ||
135 | static inline void setup_portio_remap(void) | ||
136 | { | ||
137 | } | ||
138 | |||
139 | static inline int check_phys_apicid_present(int boot_cpu_physical_apicid) | 135 | static inline int check_phys_apicid_present(int boot_cpu_physical_apicid) |
140 | { | 136 | { |
141 | return physid_isset(boot_cpu_physical_apicid, phys_cpu_present_map); | 137 | return physid_isset(boot_cpu_physical_apicid, phys_cpu_present_map); |