Messages in this thread Patch in this message | | | From | Andi Kleen <> | Subject | [PATCH] [3/12] GBPAGES: Add PUD_PAGE_SIZE | Date | Fri, 1 Feb 2008 10:53:16 +0100 (CET) |
| |
Signed-off-by: Andi Kleen <ak@suse.de>
--- include/asm-x86/page_64.h | 3 +++ 1 file changed, 3 insertions(+)
Index: linux/include/asm-x86/page_64.h =================================================================== --- linux.orig/include/asm-x86/page_64.h +++ linux/include/asm-x86/page_64.h @@ -23,6 +23,9 @@ #define MCE_STACK 5 #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 __PHYSICAL_START CONFIG_PHYSICAL_START
| |