From: Ahmad Fatoum <a.fatoum@barebox.org>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@barebox.org>
Subject: [PATCH 2/3] MIPS: implement sync_caches_for_execution
Date: Wed, 6 Aug 2025 15:24:54 +0200 [thread overview]
Message-ID: <20250806132455.2827813-2-a.fatoum@barebox.org> (raw)
In-Reply-To: <20250806132455.2827813-1-a.fatoum@barebox.org>
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@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
next prev parent reply other threads:[~2025-08-06 13:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-06 13:24 [PATCH 1/3] ppc: " Ahmad Fatoum
2025-08-06 13:24 ` Ahmad Fatoum [this message]
2025-08-06 13:24 ` [PATCH 3/3] openrisc: " Ahmad Fatoum
2025-08-07 7:28 ` [PATCH 1/3] ppc: " Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250806132455.2827813-2-a.fatoum@barebox.org \
--to=a.fatoum@barebox.org \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox