|
@@ -52,11 +52,12 @@
|
|
#define __START_KERNEL_map _AC(0xffffffff80000000, UL)
|
|
#define __START_KERNEL_map _AC(0xffffffff80000000, UL)
|
|
|
|
|
|
/* See Documentation/x86/x86_64/mm.txt for a description of the memory map. */
|
|
/* See Documentation/x86/x86_64/mm.txt for a description of the memory map. */
|
|
-#ifdef CONFIG_X86_5LEVEL
|
|
|
|
|
|
+
|
|
#define __PHYSICAL_MASK_SHIFT 52
|
|
#define __PHYSICAL_MASK_SHIFT 52
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_X86_5LEVEL
|
|
#define __VIRTUAL_MASK_SHIFT 56
|
|
#define __VIRTUAL_MASK_SHIFT 56
|
|
#else
|
|
#else
|
|
-#define __PHYSICAL_MASK_SHIFT 46
|
|
|
|
#define __VIRTUAL_MASK_SHIFT 47
|
|
#define __VIRTUAL_MASK_SHIFT 47
|
|
#endif
|
|
#endif
|
|
|
|
|