summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/es7000/apic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 13:15:06 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:26 +0100
commitb0b20e5a3a6615ae750804523aeedd32911bb9d6 (patch)
tree73c0ed9201c7f970dc939919785b3d6bb641ebac /arch/x86/include/asm/es7000/apic.h
parentx86: refactor ->enable_apic_mode() subarch methods (diff)
downloadlinux-b0b20e5a3a6615ae750804523aeedd32911bb9d6.tar.xz
linux-b0b20e5a3a6615ae750804523aeedd32911bb9d6.zip
x86, es7000: clean up es7000_enable_apic_mode()
- eliminate the needless es7000_enable_apic_mode() complication which was not apparent prior the namespace cleanups - clean up the control flow in es7000_enable_apic_mode() - other cleanups Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/es7000/apic.h')
-rw-r--r--arch/x86/include/asm/es7000/apic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/es7000/apic.h b/arch/x86/include/asm/es7000/apic.h
index 717c27f8da61..038c4f0e480b 100644
--- a/arch/x86/include/asm/es7000/apic.h
+++ b/arch/x86/include/asm/es7000/apic.h
@@ -36,6 +36,8 @@ static inline unsigned long es7000_check_apicid_present(int bit)
return physid_isset(bit, phys_cpu_present_map);
}
+extern void es7000_enable_apic_mode(void);
+
#define apicid_cluster(apicid) (apicid & 0xF0)
static inline unsigned long calculate_ldr(int cpu)