x86: uv fix

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar 2008-03-30 12:17:12 +02:00
parent ac23d4ee3f
commit a24eae88ad
1 changed files with 1 additions and 1 deletions

View 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);