提交 a24eae88 编写于 作者: I Ingo Molnar

x86: uv fix

Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 ac23d4ee
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册