thread_info: remove comment incorrectly referring to CONFIG_SH
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.
Signed-off-by Ethan Nelson-Moore <[email protected]>
--- include/linux/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/thread_info.h +1 -1
@@ -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