diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-03-30 06:17:12 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:33 -0400 |
commit | a24eae88ad3767d0a4a940a10e4a9cec849b7778 (patch) | |
tree | a6667303e449164bfa461e3a006c6fae1a4c7343 /include | |
parent | ac23d4ee3f84de33c16ed7e68f9adee2386e74fb (diff) |
x86: uv fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/smp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index b35566264879..654724c58f5b 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h | |||
@@ -174,7 +174,7 @@ static inline int logical_smp_processor_id(void) | |||
174 | return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR)); | 174 | return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR)); |
175 | } | 175 | } |
176 | 176 | ||
177 | #ifdef CONFIG_X86_32_SMP | 177 | #ifndef CONFIG_X86_64 |
178 | static inline unsigned int read_apic_id(void) | 178 | static inline unsigned int read_apic_id(void) |
179 | { | 179 | { |
180 | return *(u32 *)(APIC_BASE + APIC_ID); | 180 | return *(u32 *)(APIC_BASE + APIC_ID); |