[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>
This commit is contained in:
parent
b6dcec9ba4
commit
db0b937daf
|
@ -213,7 +213,7 @@ int dump_task_fpu (struct task_struct *t, elf_fpregset_t *fpr)
|
|||
/*
|
||||
* 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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue