Re: [PATCH 03/17] ARM: mark const init data with __initconstinstead of __initdata

From: Tony Lindgren
Date: Fri Mar 30 2012 - 12:11:57 EST


* Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx> [120329 14:16]:
> 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.

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/