Commit a24eae88 authored by Ingo Molnar's avatar Ingo Molnar

x86: uv fix

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ac23d4ee
...@@ -174,7 +174,7 @@ static inline int logical_smp_processor_id(void) ...@@ -174,7 +174,7 @@ static inline int logical_smp_processor_id(void)
return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR)); 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) static inline unsigned int read_apic_id(void)
{ {
return *(u32 *)(APIC_BASE + APIC_ID); return *(u32 *)(APIC_BASE + APIC_ID);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment