projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/mm/64: implement arch_sync_kernel_mappings()
[platform/kernel/linux-starfive.git]
/
arch
/
x86
/
include
/
asm
/
pgtable_64_types.h
diff --git
a/arch/x86/include/asm/pgtable_64_types.h
b/arch/x86/include/asm/pgtable_64_types.h
index
52e5f5f
..
8f63efb
100644
(file)
--- a/
arch/x86/include/asm/pgtable_64_types.h
+++ b/
arch/x86/include/asm/pgtable_64_types.h
@@
-159,4
+159,6
@@
extern unsigned int ptrs_per_p4d;
#define PGD_KERNEL_START ((PAGE_SIZE / 2) / sizeof(pgd_t))
+#define ARCH_PAGE_TABLE_SYNC_MASK (pgtable_l5_enabled() ? PGTBL_PGD_MODIFIED : PGTBL_P4D_MODIFIED)
+
#endif /* _ASM_X86_PGTABLE_64_DEFS_H */