From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 03/17] ARM: mark const init data with __initconst instead of __initdata Date: Fri, 30 Mar 2012 09:11:31 -0700 Message-ID: <20120330161130.GA8240@atomide.com> 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=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:43853 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754105Ab2C3QLl (ORCPT ); Fri, 30 Mar 2012 12:11:41 -0400 Content-Disposition: inline In-Reply-To: <1333055554-31300-3-git-send-email-u.kleine-koenig@pengutronix.de> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: linux-kernel@vger.kernel.org, Andrew Morton , kernel@pengutronix.de, Andrew Victor , Nicolas Ferre , Jean-Christophe Plagniol-Villard , Russell King , Sekhar Nori , Kevin Hilman , Kukjin Kim , Shawn Guo , Lennert Buytenhek , Nicolas Pitre , Eric Miao , Haojian Zhuang , David Brown , Daniel Walker , Bryan Huntsman , Barry Song , Andrew Lunn , Lucas De Marchi , linux-arm-kernel@lists.infradead.org, davinci-linux-open-source@linux.davincidsp.com, linux-sa * Uwe Kleine-K=C3=B6nig [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 >=20 > error: $variablename causes a section type conflict >=20 > because a section containing const variables is marked read only and = so > cannot contain non-const variables. Acked-by: Tony Lindgren