summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/summit
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 12:43:18 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:25 +0100
commitd83093b50416f4ca59d3a84b2ddc217748214d64 (patch)
tree7dd0bb6c29ceff7f37941eace690ac157b58338f /arch/x86/include/asm/summit
parent8058714a41afc4c983acb274b1adf7bd3cfe7f6e (diff)
downloadop-kernel-dev-d83093b50416f4ca59d3a84b2ddc217748214d64.zip
op-kernel-dev-d83093b50416f4ca59d3a84b2ddc217748214d64.tar.gz
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/summit')
-rw-r--r--arch/x86/include/asm/summit/apic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/summit/apic.h b/arch/x86/include/asm/summit/apic.h
index 79c1a45..131343b 100644
--- a/arch/x86/include/asm/summit/apic.h
+++ b/arch/x86/include/asm/summit/apic.h
@@ -116,7 +116,7 @@ static inline physid_mask_t summit_apicid_to_cpu_present(int apicid)
return physid_mask_of_physid(0);
}
-static inline void setup_portio_remap(void)
+static inline void summit_setup_portio_remap(void)
{
}
OpenPOWER on IntegriCloud