]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/x86/include/asm/pgtable_64_types.h
x86/pgtable: Move two more functions from pgtable_64.h to pgtable.h
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / pgtable_64_types.h
index 6b8f73dcbc2c2b6a835e17ac0828d8b6484f4dce..e57003a3f58a637760d8eb2bf262190a52d2cd50 100644 (file)
@@ -124,4 +124,6 @@ typedef struct { pteval_t pte; } pte_t;
 
 #define EARLY_DYNAMIC_PAGE_TABLES      64
 
+#define PGD_KERNEL_START       ((PAGE_SIZE / 2) / sizeof(pgd_t))
+
 #endif /* _ASM_X86_PGTABLE_64_DEFS_H */