* [PATCH] MIPS: mm: remove comment referring to removed CONFIG_MIPS_CMP
@ 2026-06-10 22:01 Ethan Nelson-Moore
0 siblings, 0 replies; only message in thread
From: Ethan Nelson-Moore @ 2026-06-10 22:01 UTC (permalink / raw)
To: GitAuthor: Ethan Nelson-Moore, linux-mips; +Cc: Thomas Bogendoerfer
CMP support was removed in commit 7fb6f7b0af67 ("MIPS: Remove
deprecated CONFIG_MIPS_CMP"), but a comment referring to it remained in
arch/mips/mm/c-r4k.c. Remove it.
Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
arch/mips/mm/c-r4k.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 10413b6f6662..d8aadd3dc057 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -1757,11 +1757,6 @@ void r4k_cache_init(void)
build_clear_page();
build_copy_page();
- /*
- * We want to run CMP kernels on core with and without coherent
- * caches. Therefore, do not use CONFIG_MIPS_CMP to decide whether
- * or not to flush caches.
- */
local_r4k___flush_cache_all(NULL);
coherency_setup();
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 22:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-10 22:01 [PATCH] MIPS: mm: remove comment referring to removed CONFIG_MIPS_CMP Ethan Nelson-Moore
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.