[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251006-csky-folio-flags-v1-1-a91dcbdbf988@linutronix.de>
Date: Mon, 06 Oct 2025 14:13:37 +0200
From: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
To: Guo Ren <guoren@...nel.org>,
"Matthew Wilcox (Oracle)" <willy@...radead.org>, Zi Yan <ziy@...dia.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-csky@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Subject: [PATCH] csky: abiv2: Adapt to new folio flags field
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 <thomas.weissschuh@...utronix.de>
---
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 <thomas.weissschuh@...utronix.de>
Powered by blists - more mailing lists