]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sections: disable const sections for PA-RISC v2
authorAndi Kleen <ak@linux.intel.com>
Fri, 28 Sep 2012 00:20:01 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 5 Oct 2012 04:01:13 +0000 (14:01 +1000)
commit6dbda1e5957777a84e068e0ecb1d6a97f89a8936
treeebbff29a4f5ddb9738be590945769e31af42422b
parent81cf8f7571a13b9ca3765ee34fb5bb99974f23b1
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>
arch/parisc/Kconfig
include/linux/init.h
init/Kconfig