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

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Aug 11 02:45:13 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>

Can we please get a little smarter at splitting up changes between core
ARM code and SoC ARM code please.

This now causes a delete/modify conflict between my tree and arm-soc,
because I'm now carrying ARMs patches which move arch/arm/kernel/psci.c
to drivers/firmware.

Right now, my resolution for that conflict is to just delete the old
file, I'm not even checking to see whether the new one needs this
change applied.  If it does, please submit a change on top of my
tree.

Thanks.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list