[PATCH v2 02/15] ARM: mark const init data with __initconst instead of __initdata

Sekhar Nori nsekhar at ti.com
Wed Apr 11 07:34:15 EDT 2012


Hi Uwe,

On 3/31/2012 1:34 AM, Uwe Kleine-König wrote:
> As long as there is no other non-const variable marked __initdata in the
> same compilation unit it doesn't hurt. If there were one however
> compilation would fail with
> 
> 	error: $variablename causes a section type conflict
> 
> because a section containing const variables is marked read only and so
> cannot contain non-const variables.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

For the DaVinci parts,

Acked-by: Sekhar Nori <nsekhar at ti.com>

Thanks,
Sekhar



More information about the linux-arm-kernel mailing list