提交 46dc281b 编写于 作者: C Cyrill Gorcunov 提交者: Ingo Molnar

x86, apic: Use PAGE_SIZE instead of numbers

The whole page is reserved for IO-APIC fixmap
due to non-cacheable requirement. So lets note
this explicitly instead of playing with numbers.
Signed-off-by: NCyrill Gorcunov <gorcunov@openvz.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
LKML-Reference: <20091108155356.GB25940@lenovo>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 5231a686
......@@ -4111,7 +4111,7 @@ void __init ioapic_init_mappings(void)
idx++;
ioapic_res->start = ioapic_phys;
ioapic_res->end = ioapic_phys + (4 * 1024) - 1;
ioapic_res->end = ioapic_phys + PAGE_SIZE-1;
ioapic_res++;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册