From: Ingo Molnar Date: Sun, 30 Mar 2008 10:17:12 +0000 (+0200) Subject: x86: uv fix X-Git-Tag: v2.6.26-rc1~1154^2~51 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24eae88ad3767d0a4a940a10e4a9cec849b7778;p=linux-2.6 x86: uv fix Signed-off-by: Ingo Molnar --- diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index b355662648..654724c58f 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) 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);