From: olof@lixom.net (Olof Johansson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: tango: use const and __initconst for smp_operations
Date: Mon, 1 Feb 2016 12:18:16 -0800 [thread overview]
Message-ID: <20160201201816.GC13508@localhost> (raw)
In-Reply-To: <1453721622-15437-1-git-send-email-yamada.masahiro@socionext.com>
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
>
WARNING: multiple messages have this Message-ID (diff)
From: Olof Johansson <olof@lixom.net>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: linux-arm-kernel@lists.infradead.org, arm@kernel.org,
Russell King <linux@arm.linux.org.uk>,
Marc Gonzalez <marc_gonzalez@sigmadesigns.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: tango: use const and __initconst for smp_operations
Date: Mon, 1 Feb 2016 12:18:16 -0800 [thread overview]
Message-ID: <20160201201816.GC13508@localhost> (raw)
In-Reply-To: <1453721622-15437-1-git-send-email-yamada.masahiro@socionext.com>
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
>
next prev parent reply other threads:[~2016-02-01 20:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-25 11:33 [PATCH] ARM: tango: use const and __initconst for smp_operations Masahiro Yamada
2016-01-25 11:33 ` Masahiro Yamada
2016-01-25 12:10 ` Marc Gonzalez
2016-01-25 12:10 ` Marc Gonzalez
2016-02-01 20:18 ` Olof Johansson [this message]
2016-02-01 20:18 ` Olof Johansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160201201816.GC13508@localhost \
--to=olof@lixom.net \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.