summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/4level-fixup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic/4level-fixup.h')
-rw-r--r--include/asm-generic/4level-fixup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/4level-fixup.h b/include/asm-generic/4level-fixup.h
index 77ff547730af..5bdab6bffd23 100644
--- a/include/asm-generic/4level-fixup.h
+++ b/include/asm-generic/4level-fixup.h
@@ -4,6 +4,7 @@
#define __ARCH_HAS_4LEVEL_HACK
#define __PAGETABLE_PUD_FOLDED
+#define PUD_SHIFT PGDIR_SHIFT
#define PUD_SIZE PGDIR_SIZE
#define PUD_MASK PGDIR_MASK
#define PTRS_PER_PUD 1