Recent changes require the raw folio flags to be accessed via ".f".
The merge commit introducing this change adapted most architecture code
but forgot the csky abiv2.
Fixes: 53fbef56e07d ("mm: introduce memdesc_flags_t")
Signed-off-by: Thomas Weißschuh <[email protected]>
---
arch/csky/abiv2/inc/abi/cacheflush.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/csky/abiv2/inc/abi/cacheflush.h
b/arch/csky/abiv2/inc/abi/cacheflush.h
index
6513ac5d257888fbd41385c9263305dfefd18de6..da51a0f02391f7d391ce26a2b11ca82b8c0b6755
100644
--- a/arch/csky/abiv2/inc/abi/cacheflush.h
+++ b/arch/csky/abiv2/inc/abi/cacheflush.h
@@ -20,8 +20,8 @@
static inline void flush_dcache_folio(struct folio *folio)
{
- if (test_bit(PG_dcache_clean, &folio->flags))
- clear_bit(PG_dcache_clean, &folio->flags);
+ if (test_bit(PG_dcache_clean, &folio->flags.f))
+ clear_bit(PG_dcache_clean, &folio->flags.f);
}
#define flush_dcache_folio flush_dcache_folio
---
base-commit: fd94619c43360eb44d28bd3ef326a4f85c600a07
change-id: 20251006-csky-folio-flags-1376908acbea
Best regards,
--
Thomas Weißschuh <[email protected]>