aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorAndi Kleen2012-10-04 19:11:27 -0500
committerLinus Torvalds2012-10-05 13:04:37 -0500
commit754b7b63d112ecc771e376388dcefd7b79bf5c4b (patch)
tree93e651411471d86213fa94526546551f38afccca /init
parent0f6d93aa9d96cc9022b51bd10d462b03296be146 (diff)
downloadkernel-omap-754b7b63d112ecc771e376388dcefd7b79bf5c4b.tar.gz
kernel-omap-754b7b63d112ecc771e376388dcefd7b79bf5c4b.tar.xz
kernel-omap-754b7b63d112ecc771e376388dcefd7b79bf5c4b.zip
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>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index cb003a3c9122..e82f289290fa 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1581,4 +1581,10 @@ config PADATA
1581 depends on SMP 1581 depends on SMP
1582 bool 1582 bool
1583 1583
1584# Can be selected by architectures with broken toolchains
1585# that get confused by correct const<->read_only section
1586# mappings
1587config BROKEN_RODATA
1588 bool
1589
1584source "kernel/Kconfig.locks" 1590source "kernel/Kconfig.locks"