linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: tango: use const and __initconst for smp_operations
@ 2016-01-25 11:33 Masahiro Yamada
  2016-01-25 12:10 ` Marc Gonzalez
  2016-02-01 20:18 ` Olof Johansson
  0 siblings, 2 replies; 3+ messages in thread
From: Masahiro Yamada @ 2016-01-25 11:33 UTC (permalink / raw)
  To: linux-arm-kernel

This newly added code missed the global fixup by commit 75305275a721
("ARM: use const and __initconst for smp_operations").  So fix it now.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 arch/arm/mach-tango/platsmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-tango/platsmp.c b/arch/arm/mach-tango/platsmp.c
index a18d5a3..a21f55e 100644
--- a/arch/arm/mach-tango/platsmp.c
+++ b/arch/arm/mach-tango/platsmp.c
@@ -9,7 +9,7 @@ static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle)
 	return 0;
 }
 
-static struct smp_operations tango_smp_ops __initdata = {
+static const struct smp_operations tango_smp_ops __initconst = {
 	.smp_boot_secondary	= tango_boot_secondary,
 };
 
-- 
1.9.1

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

* [PATCH] ARM: tango: use const and __initconst for smp_operations
  2016-01-25 11:33 [PATCH] ARM: tango: use const and __initconst for smp_operations Masahiro Yamada
@ 2016-01-25 12:10 ` Marc Gonzalez
  2016-02-01 20:18 ` Olof Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Gonzalez @ 2016-01-25 12:10 UTC (permalink / raw)
  To: linux-arm-kernel

On 25/01/2016 12:33, Masahiro Yamada wrote:

> This newly added code missed the global fixup by commit 75305275a721
> ("ARM: use const and __initconst for smp_operations").  So fix it now.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  arch/arm/mach-tango/platsmp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>

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

* [PATCH] ARM: tango: use const and __initconst for smp_operations
  2016-01-25 11:33 [PATCH] ARM: tango: use const and __initconst for smp_operations Masahiro Yamada
  2016-01-25 12:10 ` Marc Gonzalez
@ 2016-02-01 20:18 ` Olof Johansson
  1 sibling, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2016-02-01 20:18 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 25, 2016 at 08:33:42PM +0900, Masahiro Yamada wrote:
> This newly added code missed the global fixup by commit 75305275a721
> ("ARM: use const and __initconst for smp_operations").  So fix it now.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Applied to fixes, thanks.


-Olof
> ---
> 
>  arch/arm/mach-tango/platsmp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-tango/platsmp.c b/arch/arm/mach-tango/platsmp.c
> index a18d5a3..a21f55e 100644
> --- a/arch/arm/mach-tango/platsmp.c
> +++ b/arch/arm/mach-tango/platsmp.c
> @@ -9,7 +9,7 @@ static int tango_boot_secondary(unsigned int cpu, struct task_struct *idle)
>  	return 0;
>  }
>  
> -static struct smp_operations tango_smp_ops __initdata = {
> +static const struct smp_operations tango_smp_ops __initconst = {
>  	.smp_boot_secondary	= tango_boot_secondary,
>  };
>  
> -- 
> 1.9.1
> 

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

end of thread, other threads:[~2016-02-01 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-25 11:33 [PATCH] ARM: tango: use const and __initconst for smp_operations Masahiro Yamada
2016-01-25 12:10 ` Marc Gonzalez
2016-02-01 20:18 ` Olof Johansson

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).