]> err.no Git - linux-2.6/commitdiff
x86: uv fix
authorIngo Molnar <mingo@elte.hu>
Sun, 30 Mar 2008 10:17:12 +0000 (12:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 15:41:33 +0000 (17:41 +0200)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/smp.h

index b35566264879d0e22864839085f8f3a438e9ee28..654724c58f5bf8dc416e7a644f1b70b85db1980c 100644 (file)
@@ -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);