Re: [PATCH v2 02/15] ARM: mark const init data with __initconst instead of __initdata
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
- Subject: Re: [PATCH v2 02/15] ARM: mark const init data with __initconst instead of __initdata
- From: Sekhar Nori <nsekhar@xxxxxx>
- Date: Wed, 11 Apr 2012 17:04:15 +0530
- Cc: <linux-kernel@xxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, <kernel@xxxxxxxxxxxxxx>, Andrew Victor <linux@xxxxxxxxxxxx>, Nicolas Ferre <nicolas.ferre@xxxxxxxxx>, Jean-Christophe Plagniol-Villard <plagnioj@xxxxxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxxx>, Kevin Hilman <khilman@xxxxxx>, Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Shawn Guo <shawn.guo@xxxxxxxxxx>, Lennert Buytenhek <kernel@xxxxxxxxxxxxxx>, Nicolas Pitre <nico@xxxxxxxxxxx>, Eric Miao <eric.y.miao@xxxxxxxxx>, Haojian Zhuang <haojian.zhuang@xxxxxxxxx>, David Brown <davidb@xxxxxxxxxxxxxx>, Daniel Walker <dwalker@xxxxxxxxxx>, Bryan Huntsman <bryanh@xxxxxxxxxxxxxx>, Tony Lindgren <tony@xxxxxxxxxxx>, Barry Song <baohua.song@xxxxxxx>, Andrew Lunn <andrew@xxxxxxx>, Lucas De Marchi <lucas.demarchi@xxxxxxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, <davinci-linux-open-source@xxxxxxxxxxxxxxxxxxxx>, <linux-samsung-soc@xxxxxxxxxxxxxxx>, <linux-arm-msm@xxxxxxxxxxxxxxx>, <linux-omap@xxxxxxxxxxxxxxx>
- In-reply-to: <1333137905-13809-2-git-send-email-u.kleine-koenig@pengutronix.de>
- User-agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
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@xxxxxxxxxxxxxx>
For the DaVinci parts,
Acked-by: Sekhar Nori <nsekhar@xxxxxx>
Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux ARM Kernel]
[Linux ARM]
[Linux Omap]
[Fedora ARM]
[Linux for Sparc]
[IETF Annouce]
[Security]
[Bugtraq]
[Linux OMAP]
[Linux MIPS]
[ECOS]
[Asterisk Internet PBX]
[Linux API]