소스 검색

[MIPS] Make kernel_thread_helper() static

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Atsushi Nemoto 18 년 전
부모
커밋
db0b937daf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/mips/kernel/process.c

+ 1 - 1
arch/mips/kernel/process.c

@@ -213,7 +213,7 @@ int dump_task_fpu (struct task_struct *t, elf_fpregset_t *fpr)
 /*
 /*
  * Create a kernel thread
  * Create a kernel thread
  */
  */
-ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
+static ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
 {
 {
 	do_exit(fn(arg));
 	do_exit(fn(arg));
 }
 }