* [PATCH] thread_info: remove comment incorrectly referring to CONFIG_SH
@ 2026-06-09 3:32 Ethan Nelson-Moore
0 siblings, 0 replies; only message in thread
From: Ethan Nelson-Moore @ 2026-06-09 3:32 UTC (permalink / raw)
To: linux-kernel
Cc: Ethan Nelson-Moore, Paul Walmsley, Palmer Dabbelt, Albert Ou,
Alexandre Ghiti, Thomas Gleixner, Peter Zijlstra (Intel),
Mathieu Desnoyers, Ingo Molnar
A comment in <linux/thread_info.h> incorrectly refers to CONFIG_SH
instead of CONFIG_SUPERH. It is also inaccurate because
arch_task_cache_init() is defined by riscv as well as sh. 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>
---
include/linux/thread_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h
index 051e42902690..117b175ca64d 100644
--- a/include/linux/thread_info.h
+++ b/include/linux/thread_info.h
@@ -228,7 +228,7 @@ static inline int arch_within_stack_frames(const void * const stack,
static inline void arch_setup_new_exec(void) { }
#endif
-void arch_task_cache_init(void); /* for CONFIG_SH */
+void arch_task_cache_init(void);
void arch_release_task_struct(struct task_struct *tsk);
int arch_dup_task_struct(struct task_struct *dst,
struct task_struct *src);
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 3:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-09 3:32 [PATCH] thread_info: remove comment incorrectly referring to CONFIG_SH 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.