From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregory CLEMENT Subject: Re: [PATCH 2/2] ARM: use const and __initconst for smp_operations Date: Mon, 23 Nov 2015 18:02:05 +0100 Message-ID: <87bnakfy42.fsf@free-electrons.com> References: <1447551593-22246-1-git-send-email-yamada.masahiro@socionext.com> <1447551593-22246-3-git-send-email-yamada.masahiro@socionext.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1447551593-22246-3-git-send-email-yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org> (Masahiro Yamada's message of "Sun, 15 Nov 2015 10:39:53 +0900") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Masahiro Yamada Cc: Mark Rutland , Andrew Lunn , Krzysztof Kozlowski , kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org, linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Brian Norris , Linus Walleij , Will Deacon , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Chen-Yu Tsai , Thierry Reding , Shawn Guo , Heiko Stuebner , Alexandre Courbot , linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Florian Fainelli , Russell King , Emilio =?utf-8?Q?L=C3=B3pez?= , Viresh Kumar , Stephen Warren , Magnus Damm , Michal Simek , Wei Xu , Maxime List-Id: linux-tegra@vger.kernel.org Hi Masahiro Yamada, On dim., nov. 15 2015, Masahiro Yamada wrote: > These smp_operations structures are not over-written, so add "const" > qualifier and replace __initdata with __initconst. > > Also, add "static" where it is possible. > > Signed-off-by: Masahiro Yamada > Acked-by: Krzysztof Kozlowski > Acked-by: Maxime Ripard > Acked-by: Moritz Fischer > --- > > arch/arm/mach-mvebu/armada-370-xp.h | 2 +- > arch/arm/mach-mvebu/platsmp-a9.c | 4 ++-- > arch/arm/mach-mvebu/platsmp.c | 2 +- For mvebu: Acked-by: Gregory CLEMENT Thanks, Gregory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com