summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/pgtable.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2005-07-29 21:25:28 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-29 22:12:49 +0200
commit8bf2755664bfe03a414e7ec02d9f16a3d5beb60d (patch)
tree4cf707d59b69c153a29d93e90fa5dc53baec64a0 /include/asm-x86_64/pgtable.h
parent[PATCH] x86_64 machine_kexec: Cleanup inline assembly. (diff)
downloadlinux-8bf2755664bfe03a414e7ec02d9f16a3d5beb60d.tar.xz
linux-8bf2755664bfe03a414e7ec02d9f16a3d5beb60d.zip
[PATCH] x86_64 machine_kexec: Use standard pagetable helpers
Use the standard hardware page table manipulation macros. This is possible now that linux works with all 4 levels of the page tables. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/pgtable.h')
-rw-r--r--include/asm-x86_64/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86_64/pgtable.h b/include/asm-x86_64/pgtable.h
index 4eec176c3c39..4e167b5ea8f3 100644
--- a/include/asm-x86_64/pgtable.h
+++ b/include/asm-x86_64/pgtable.h
@@ -176,6 +176,8 @@ extern inline void pgd_clear (pgd_t * pgd)
(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_PCD)
#define __PAGE_KERNEL_LARGE \
(__PAGE_KERNEL | _PAGE_PSE)
+#define __PAGE_KERNEL_LARGE_EXEC \
+ (__PAGE_KERNEL_EXEC | _PAGE_PSE)
#define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL)