aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/pagetable.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/pagetable.c')
-rw-r--r--arch/x86/boot/compressed/pagetable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/pagetable.c b/arch/x86/boot/compressed/pagetable.c
index 6e31a6aac4d3..56589d0a804b 100644
--- a/arch/x86/boot/compressed/pagetable.c
+++ b/arch/x86/boot/compressed/pagetable.c
@@ -20,6 +20,9 @@
/* These actually do the work of building the kernel identity maps. */
#include <asm/init.h>
#include <asm/pgtable.h>
+/* Use the static base for this part of the boot process */
+#undef __PAGE_OFFSET
+#define __PAGE_OFFSET __PAGE_OFFSET_BASE
#include "../../mm/ident_map.c"
/* Used by pgtable.h asm code to force instruction serialization. */