[PATCH 2/2] ARM: use const and __initconst for smp_operations

Gregory CLEMENT gregory.clement at free-electrons.com
Mon Nov 23 09:02:05 PST 2015


Hi Masahiro Yamada,
 
 On dim., nov. 15 2015, Masahiro Yamada <yamada.masahiro at socionext.com> 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 <yamada.masahiro at socionext.com>
> Acked-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Acked-by: Moritz Fischer <moritz.fischer at ettus.com>
> ---
>

>  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 <gregory.clement at free-electrons.com>

Thanks,

Gregory

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the Linux-rockchip mailing list