* [PATCH] metag/smp: Make boot_secondary() static
@ 2014-01-03 15:43 Geert Uytterhoeven
2014-01-06 10:05 ` James Hogan
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-01-03 15:43 UTC (permalink / raw)
To: James Hogan; +Cc: linux-metag, linux-kernel, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
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>
---
arch/metag/kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/metag/kernel/smp.c b/arch/metag/kernel/smp.c
index 7c0113142981..fc4b80e1e06a 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;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] metag/smp: Make boot_secondary() static
2014-01-03 15:43 [PATCH] metag/smp: Make boot_secondary() static Geert Uytterhoeven
@ 2014-01-06 10:05 ` James Hogan
0 siblings, 0 replies; 2+ messages in thread
From: James Hogan @ 2014-01-06 10:05 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-metag, linux-kernel, Geert Uytterhoeven
On 03/01/14 15:43, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
>
> 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>
Thanks, applied.
Cheers
James
> ---
> arch/metag/kernel/smp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/metag/kernel/smp.c b/arch/metag/kernel/smp.c
> index 7c0113142981..fc4b80e1e06a 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;
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-06 10:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03 15:43 [PATCH] metag/smp: Make boot_secondary() static Geert Uytterhoeven
2014-01-06 10:05 ` James Hogan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).