summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/pgtable.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2005-07-29 13:25:28 -0600
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-29 13:12:49 -0700
commit8bf2755664bfe03a414e7ec02d9f16a3d5beb60d (patch)
tree4cf707d59b69c153a29d93e90fa5dc53baec64a0 /include/asm-x86_64/pgtable.h
parent36c4fd23cc06f81d68ee968c4c1bf1cebb3dcea5 (diff)
downloadop-kernel-dev-8bf2755664bfe03a414e7ec02d9f16a3d5beb60d.zip
op-kernel-dev-8bf2755664bfe03a414e7ec02d9f16a3d5beb60d.tar.gz
[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 4eec176..4e167b5 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)
OpenPOWER on IntegriCloud