From 46540f4bb15085e51d5b1a732e107a0886c4aaf8 Mon Sep 17 00:00:00 2001 From: Andrew Boie Date: Sat, 19 Oct 2019 12:19:55 -0700 Subject: [PATCH] intel64: don't set global flag in ptables May cause issues when runtime page tables are installed. Signed-off-by: Andrew Boie --- arch/x86/core/intel64/locore.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/core/intel64/locore.S b/arch/x86/core/intel64/locore.S index 7aa13ff78e7..92e09c1dc3e 100644 --- a/arch/x86/core/intel64/locore.S +++ b/arch/x86/core/intel64/locore.S @@ -553,13 +553,13 @@ pml4: .long 0 .fill 4088, 1, 0 -pdp: .long 0x00000183 /* 0x183 = G, 1GB, R/W, P */ +pdp: .long 0x00000083 /* 0x83 = 1GB, R/W, P */ .long 0 - .long 0x40000183 + .long 0x40000083 .long 0 - .long 0x80000183 + .long 0x80000083 .long 0 - .long 0xC0000183 + .long 0xC0000083 .long 0 .fill 4064, 1, 0