From: Uwe Kleine-König Date: Fri, 30 Mar 2012 10:05:00 +0000 (+0000) Subject: powerpc: Mark const init data with __initconst instead of __initdata X-Git-Tag: v3.4-rc2~42^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=059378e3ff36094dccdd55600c3ad67a88c302aa;p=pandora-kernel.git powerpc: 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: Josh Boyer Cc: Matt Porter Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Anatolij Gustschin Cc: Kumar Gala Cc: Arnd Bergmann Cc: linuxppc-dev@lists.ozlabs.org Cc: cbe-oss-dev@lists.ozlabs.org Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed