All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] metag/smp: Make boot_secondary() static
@ 2014-01-03 15:43 ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2014-01-03 15:43 UTC (permalink / raw)
  To: James Hogan
  Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>

boot_secondary() is not used outside arch/metag/kernel/smp.c, hence make it
static.

Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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

--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] metag/smp: Make boot_secondary() static
@ 2014-01-03 15:43 ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

* Re: [PATCH] metag/smp: Make boot_secondary() static
  2014-01-03 15:43 ` Geert Uytterhoeven
@ 2014-01-06 10:05     ` James Hogan
  -1 siblings, 0 replies; 4+ messages in thread
From: James Hogan @ 2014-01-06 10:05 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

On 03/01/14 15:43, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> 
> boot_secondary() is not used outside arch/metag/kernel/smp.c, hence make it
> static.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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;
>  
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-metag" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] metag/smp: Make boot_secondary() static
@ 2014-01-06 10:05     ` James Hogan
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2014-01-06 10:05 UTC | newest]

Thread overview: 4+ 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-03 15:43 ` Geert Uytterhoeven
     [not found] ` <1388763831-27357-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
2014-01-06 10:05   ` James Hogan
2014-01-06 10:05     ` James Hogan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.