From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932706AbcBAU3p (ORCPT ); Mon, 1 Feb 2016 15:29:45 -0500 Received: from mail-pf0-f182.google.com ([209.85.192.182]:35054 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932070AbcBAU3h (ORCPT ); Mon, 1 Feb 2016 15:29:37 -0500 Date: Mon, 1 Feb 2016 12:18:16 -0800 From: Olof Johansson To: Masahiro Yamada Cc: linux-arm-kernel@lists.infradead.org, arm@kernel.org, Russell King , Marc Gonzalez , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: tango: use const and __initconst for smp_operations Message-ID: <20160201201816.GC13508@localhost> References: <1453721622-15437-1-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1453721622-15437-1-git-send-email-yamada.masahiro@socionext.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 >