Browse Source

x86: uv fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 17 years ago
parent
commit
a24eae88ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/asm-x86/smp.h

+ 1 - 1
include/asm-x86/smp.h

@@ -174,7 +174,7 @@ static inline int logical_smp_processor_id(void)
 	return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR));
 }
 
-#ifdef CONFIG_X86_32_SMP
+#ifndef CONFIG_X86_64
 static inline unsigned int read_apic_id(void)
 {
 	return *(u32 *)(APIC_BASE + APIC_ID);