summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/bigsmp
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 11:43:18 (GMT)
committerIngo Molnar <mingo@elte.hu>2009-01-28 22:20:26 (GMT)
commit4904033302c745342e3b3a611881cdee57fbe06a (patch)
treef7c6bcbf21989edbb02b263226865a5e34f13a02 /arch/x86/include/asm/bigsmp
parenta27a621001f4c3e57caf47feff4b014577fd01c6 (diff)
downloadlinux-fsl-qoriq-4904033302c745342e3b3a611881cdee57fbe06a.tar.xz
x86: refactor ->enable_apic_mode() subarch methods
Only ES7000 has a real ->enable_apic_mode() 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. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/bigsmp')
-rw-r--r--arch/x86/include/asm/bigsmp/apic.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/bigsmp/apic.h b/arch/x86/include/asm/bigsmp/apic.h
index 5ba4118..f49d440 100644
--- a/arch/x86/include/asm/bigsmp/apic.h
+++ b/arch/x86/include/asm/bigsmp/apic.h
@@ -104,10 +104,6 @@ static inline int bigsmp_check_phys_apicid_present(int boot_cpu_physical_apicid)
return 1;
}
-static inline void enable_apic_mode(void)
-{
-}
-
/* As we are using single CPU as destination, pick only one CPU here */
static inline unsigned int cpu_mask_to_apicid(const cpumask_t *cpumask)
{