metag/smp: Make boot_secondary() static
PATCH 1/1 metag/smp: Make boot_secondary() static
From: Geert Uytterhoeven <[email protected]>
boot_secondary() is not used outside arch/metag/kernel/smp.c, hence make it static.
Signed-off-by Geert Uytterhoeven <[email protected]>
--- arch/metag/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/metag/kernel/smp.c +1 -1
@@ -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;
Signature · 6 lines
1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-metag" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
James Hogan
AppliedQuoted 6 lines · Geert Uytterhoeven
From: Geert Uytterhoeven <[email protected]>
boot_secondary()is not used outsidearch/metag/kernel/smp.c, hence make it static.Signed-off-by Geert Uytterhoeven <[email protected]>
Thanks, applied.
Cheers
James
Quoted 10 lines
--- arch/metag/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/metag/kernel/smp.c +0
-0
arch/metag/kernel/smp.c static DECLARE_COMPLETION(cpu_running); · line 74
Quoted 8 lines
arch/metag/kernel/smp.c +1
-1@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html