commit | a24eae88ad3767d0a4a940a10e4a9cec849b7778 | [log] [tgz] |
---|---|---|
author | Ingo Molnar <mingo@elte.hu> | Sun Mar 30 12:17:12 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Apr 17 17:41:33 2008 +0200 |
tree | a6667303e449164bfa461e3a006c6fae1a4c7343 | |
parent | ac23d4ee3f84de33c16ed7e68f9adee2386e74fb [diff] |
x86: uv fix Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index b355662..654724c 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h
@@ -174,7 +174,7 @@ 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);