提交 83d7aeab 编写于 作者: S Suresh Siddha 提交者: Ingo Molnar

x86: remove mach_apic.h, fix

Use apic_read() instead of open-coded mmio.
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 1dcdd3d1
......@@ -145,7 +145,7 @@ static inline unsigned int read_apic_id(void)
{
unsigned int reg;
reg = *(u32 *)(APIC_BASE + APIC_ID);
reg = apic_read(APIC_ID);
return apic->get_apic_id(reg);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册