From: Uwe Kleine-König Date: Thu, 19 Jul 2012 07:11:16 +0000 (+0200) Subject: mips: mark const init data with __initconst instead of __initdata X-Git-Tag: v3.5~3^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a043d79dc2d082b0df28820d43b96f1cdaf29e7;p=pandora-kernel.git mips: mark const init data with __initconst instead of __initdata 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 Cc: linux-mips@linux-mips.org Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: kernel@pengutronix.de Patchwork: https://patchwork.linux-mips.org/patch/3565/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed