mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-05-19 13:06:19 +00:00
[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>
This commit is contained in:
committed by
Linus Torvalds
parent
36c4fd23cc
commit
8bf2755664
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user