diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-08-21 20:34:43 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-03 21:15:46 -0700 |
commit | 7a87225ae2c6c317c7b80cf599e5cf0eee699196 (patch) | |
tree | 0ba2331035265708efd715df4c3caea82b1f4ac7 /mm/huge_memory.c | |
parent | 02e1960aafac33721401dcd92e915325fdb524b2 (diff) | |
download | linux-7a87225ae2c6c317c7b80cf599e5cf0eee699196.tar.gz linux-7a87225ae2c6c317c7b80cf599e5cf0eee699196.tar.bz2 linux-7a87225ae2c6c317c7b80cf599e5cf0eee699196.zip |
x86: remove PG_uncached
Convert x86 to use PG_arch_2 instead of PG_uncached and remove
PG_uncached.
Link: https://lkml.kernel.org/r/20240821193445.2294269-11-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r-- | mm/huge_memory.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 8dfb912ebdaa..c4b45ad576f6 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -2993,8 +2993,10 @@ static void __split_huge_page_tail(struct folio *folio, int tail, (1L << PG_workingset) | (1L << PG_locked) | (1L << PG_unevictable) | -#ifdef CONFIG_ARCH_USES_PG_ARCH_X +#ifdef CONFIG_ARCH_USES_PG_ARCH_2 (1L << PG_arch_2) | +#endif +#ifdef CONFIG_ARCH_USES_PG_ARCH_3 (1L << PG_arch_3) | #endif (1L << PG_dirty) | |