summaryrefslogtreecommitdiff
path: root/arch/metag
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>2014-01-03 16:43:51 +0100
committerJames Hogan <james.hogan@imgtec.com>2014-01-06 09:59:22 +0000
commite9a1d0165bbda4398d4a5d71736cf6390fb42c6f (patch)
tree9a8dbaaa3474a35762542d4fe24ed4af4744bf8c /arch/metag
parent40979d327c99b20a938b2672d7e506f8fc41ddcc (diff)
metag/smp: Make boot_secondary() static
boot_secondary() is not used outside arch/metag/kernel/smp.c, hence make it static. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag')
-rw-r--r--arch/metag/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/kernel/smp.c b/arch/metag/kernel/smp.c
index f74008b6da07..f006d2276f40 100644
--- a/arch/metag/kernel/smp.c
+++ b/arch/metag/kernel/smp.c
@@ -68,7 +68,7 @@ static DECLARE_COMPLETION(cpu_running);
/*
* "thread" is assumed to be a valid Meta hardware thread ID.
*/
-int boot_secondary(unsigned int thread, struct task_struct *idle)
+static int boot_secondary(unsigned int thread, struct task_struct *idle)
{
u32 val;