diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-10-11 18:23:54 +0800 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-23 09:52:49 +0200 |
commit | 9b0881858c74ae6a1a66de7350d123cf3f83169f (patch) | |
tree | 2c9abaec588ece8c7ba319dbfa205d2b1044698d /arch/um/include/asm/pgtable-2level.h | |
parent | 2717c6b649e1840328c2758a478bf4034a22ac3e (diff) | |
download | linux-9b0881858c74ae6a1a66de7350d123cf3f83169f.tar.gz linux-9b0881858c74ae6a1a66de7350d123cf3f83169f.tar.bz2 linux-9b0881858c74ae6a1a66de7350d123cf3f83169f.zip |
um: Rename _PAGE_NEWPAGE to _PAGE_NEEDSYNC
The _PAGE_NEWPAGE bit does not really indicate that this is a new page,
but rather whether this entry needs to be synced or not. Renaming it
to _PAGE_NEEDSYNC will make it more clear how everything ties together.
Suggested-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20241011102354.1682626-3-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'arch/um/include/asm/pgtable-2level.h')
-rw-r--r-- | arch/um/include/asm/pgtable-2level.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/include/asm/pgtable-2level.h b/arch/um/include/asm/pgtable-2level.h index 8256ecc5b919..ab0c8dd86564 100644 --- a/arch/um/include/asm/pgtable-2level.h +++ b/arch/um/include/asm/pgtable-2level.h @@ -31,7 +31,7 @@ printk("%s:%d: bad pgd %p(%08lx).\n", __FILE__, __LINE__, &(e), \ pgd_val(e)) -static inline int pgd_newpage(pgd_t pgd) { return 0; } +static inline int pgd_needsync(pgd_t pgd) { return 0; } static inline void pgd_mkuptodate(pgd_t pgd) { } #define set_pmd(pmdptr, pmdval) (*(pmdptr) = (pmdval)) |