aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 13:32:55 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-29 08:16:52 -0500
commit6bda2c8b32febeb38ee128047253751e080bad52 (patch)
tree7f6f78cf18cd69a44e987d985c57402d493d0dee /arch/x86/include/asm/apic.h
parent1164dd0099c0d79146a55319670f57ab7ad1d352 (diff)
x86: remove subarchitecture support
Remove the 32-bit subarchitecture support code. All subarchitectures but Voyager have been converted. Voyager will be done later or will be removed. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r--arch/x86/include/asm/apic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 6a77068e261a..b03711d7990b 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -215,6 +215,7 @@ static inline void disable_local_APIC(void) { }
215#define SET_APIC_ID(x) (apic->set_apic_id(x)) 215#define SET_APIC_ID(x) (apic->set_apic_id(x))
216#else 216#else
217 217
218#ifdef CONFIG_X86_LOCAL_APIC
218static inline unsigned default_get_apic_id(unsigned long x) 219static inline unsigned default_get_apic_id(unsigned long x)
219{ 220{
220 unsigned int ver = GET_APIC_VERSION(apic_read(APIC_LVR)); 221 unsigned int ver = GET_APIC_VERSION(apic_read(APIC_LVR));
@@ -224,6 +225,7 @@ static inline unsigned default_get_apic_id(unsigned long x)
224 else 225 else
225 return (x >> 24) & 0x0F; 226 return (x >> 24) & 0x0F;
226} 227}
228#endif
227 229
228#endif 230#endif
229 231