提交 fbff3c21 编写于 作者: A Andi Kleen 提交者: Ingo Molnar

x86: add PUD_PAGE_SIZE

a PUD entry covers 1GB of virtual memory.
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 019c3e7c
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
#define MCE_STACK 5 #define MCE_STACK 5
#define N_EXCEPTION_STACKS 5 /* hw limit: 7 */ #define N_EXCEPTION_STACKS 5 /* hw limit: 7 */
#define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
#define PUD_PAGE_MASK (~(PUD_PAGE_SIZE-1))
#define __PAGE_OFFSET _AC(0xffff810000000000, UL) #define __PAGE_OFFSET _AC(0xffff810000000000, UL)
#define __PHYSICAL_START CONFIG_PHYSICAL_START #define __PHYSICAL_START CONFIG_PHYSICAL_START
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册