sections: disable const sections for PA-RISC v2
authorAndi Kleen <ak@linux.intel.com>
Fri, 5 Oct 2012 00:11:27 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:37 +0000 (03:04 +0900)
commit754b7b63d112ecc771e376388dcefd7b79bf5c4b
tree93e651411471d86213fa94526546551f38afccca
parent0f6d93aa9d96cc9022b51bd10d462b03296be146
sections: disable const sections for PA-RISC v2

The PA-RISC tool chain seems to have some problem with correct
read/write attributes on sections.  This causes problems when the const
sections are fixed up for other architecture to only contain truly
read-only data.

Disable const sections for PA-RISC

This can cause a bit of noise with modpost.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Cc: Helge Deller <deller@gmx.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/parisc/Kconfig
include/linux/init.h
init/Kconfig