Skip to contentSkip to conversation

thread_info: remove comment incorrectly referring to CONFIG_SH

PATCH New Ethan Nelson-Moore 1 participant 1 message Jun 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thread_info: remove comment incorrectly referring to CONFIG_SH

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.

---
 include/linux/thread_info.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/thread_info.h +1 -1
index 051e42902690..117b175ca64d 100644
@@ -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);
Signature · 1 line
2.43.0