summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtsushi Nemoto2007-02-18 16:54:27 +0100
committerRalf Baechle2007-02-18 22:31:36 +0100
commitdb0b937daf9bee741aa8fd488ea657872b9579fe (patch)
tree88a89ea57a3af03240209a84b4d3c92d35444044
parent[MIPS] Make __declare_dbe_table static and avoid it getting optimized away (diff)
downloadkernel-qcow2-linux-db0b937daf9bee741aa8fd488ea657872b9579fe.tar.gz
kernel-qcow2-linux-db0b937daf9bee741aa8fd488ea657872b9579fe.tar.xz
kernel-qcow2-linux-db0b937daf9bee741aa8fd488ea657872b9579fe.zip
[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>
-rw-r--r--arch/mips/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c
index 9704c21607a2..a669089e4672 100644
--- a/arch/mips/kernel/process.c
+++ b/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
*/
-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));
}