[PATCH 2/3] MIPS: implement sync_caches_for_execution
Ahmad Fatoum
a.fatoum at barebox.org
Wed Aug 6 06:24:54 PDT 2025
flush_cache_all() is used for the same operation, we call
sync_caches_for_execution on ARM, so make the latter available as well.
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
arch/mips/include/asm/cache.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/include/asm/cache.h b/arch/mips/include/asm/cache.h
index f2f50986c7bf..1b62ea743a24 100644
--- a/arch/mips/include/asm/cache.h
+++ b/arch/mips/include/asm/cache.h
@@ -6,4 +6,6 @@
void flush_cache_all(void);
void r4k_cache_init(void);
+#define sync_caches_for_execution flush_cache_all
+
#endif /* _ASM_MIPS_CACHE_H */
--
2.39.5
More information about the barebox
mailing list