]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76f63c11b0429ace65c8ea6ef503ef9a7b81dfbd
tree93e651411471d86213fa94526546551f38afccca
parentb21303414fdca69d18fa44f94361cfe5409ef969
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