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

Dinh Nguyen dinguyen at opensource.altera.com
Mon Nov 23 12:33:10 PST 2015


On 11/14/2015 07:39 PM, 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 <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-socfpga/platsmp.c      | 4 ++--

Acked-by: Dinh Nguyen <dinguyen at opensource.altera.com>

Thanks,
Dinh




More information about the Linux-rockchip mailing list