mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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>
This commit is contained in:
parent
0f6d93aa9d
commit
754b7b63d1
3 changed files with 26 additions and 8 deletions
|
|
@ -1581,4 +1581,10 @@ config PADATA
|
|||
depends on SMP
|
||||
bool
|
||||
|
||||
# Can be selected by architectures with broken toolchains
|
||||
# that get confused by correct const<->read_only section
|
||||
# mappings
|
||||
config BROKEN_RODATA
|
||||
bool
|
||||
|
||||
source "kernel/Kconfig.locks"
|
||||
|
|
|
|||
Loading…
Reference in a new issue