[PATCH v3] ARM: appropriate __init annotation for const data

Olof Johansson olof at lixom.net
Tue Jul 28 04:56:06 PDT 2015


On Mon, Jul 27, 2015 at 06:27:52PM -0400, Nicolas Pitre wrote:
> 
> Init data marked const should be annotated with __initconst for
> correctness and not __initdata.  In some cases the array gathering
> references to that data has to be marked const as well. This fixes
> LTO builds that otherwise fail with section mismatch errors.
> 
> Signed-off-by: Nicolas Pitre <nico at linaro.org>

This passed through the builder here as well. I've applied it to
next/cleanup for 4.3. Thanks!


-Olof



More information about the linux-arm-kernel mailing list