From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Subject: Re: [PATCH 03/17] ARM: mark const init data with __initconst instead of __initdata Date: Fri, 30 Mar 2012 06:34:56 +0200 Message-ID: <20120330043456.GL7757@game.jcrosoft.org> References: <20120329211131.GA31250@pengutronix.de> <1333055554-31300-3-git-send-email-u.kleine-koenig@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1333055554-31300-3-git-send-email-u.kleine-koenig@pengutronix.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Andrew Lunn , Tony Lindgren , Sekhar Nori , Daniel Walker , Lennert Buytenhek , Kevin Hilman , Kukjin Kim , Russell King , linux-arm-msm@vger.kernel.org, David Brown , Lucas De Marchi , Nicolas Ferre , Haojian Zhuang , linux-samsung-soc@vger.kernel.org, Barry Song , linux-omap@vger.kernel.org, Andrew Victor , linux-arm-kernel@lists.infradead.org, davinci-linux-open-source@linux.davincidsp.com, Eric Miao , Nicolas Pitre , linux-kernel@vger.kernel.org, Bryan Huntsman , kernel@pengutronix.de, Andrew Morton List-Id: linux-arm-msm@vger.kernel.org On 23:12 Thu 29 Mar , Uwe Kleine-K=F6nig 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=F6nig > Cc: Andrew Victor > Cc: Nicolas Ferre > Cc: Jean-Christophe Plagniol-Villard > Cc: Russell King > Cc: Sekhar Nori > Cc: Kevin Hilman > Cc: Kukjin Kim > Cc: Sascha Hauer > Cc: Shawn Guo > Cc: Lennert Buytenhek > Cc: Nicolas Pitre > Cc: Eric Miao > Cc: Haojian Zhuang > Cc: David Brown > Cc: Daniel Walker > Cc: Bryan Huntsman > Cc: Tony Lindgren > Cc: Barry Song > Cc: Andrew Lunn > Cc: Lucas De Marchi > Cc: linux-arm-kernel@lists.infradead.org > Cc: davinci-linux-open-source@linux.davincidsp.com > Cc: linux-samsung-soc@vger.kernel.org > Cc: linux-arm-msm@vger.kernel.org > Cc: linux-omap@vger.kernel.org > --- > arch/arm/mach-at91/board-dt.c | 2 +- > arch/arm/mach-at91/clock.c | 2 +- for at91 Acked-by: Jean-Christophe PLAGNIOL-VILLARD Best Regards, J.