diff options
author | Helge Deller <deller@parisc-linux.org> | 2006-01-13 21:21:06 +0100 |
---|---|---|
committer | Kyle McMartin <kyle@duet.int.mcmartin.ca> | 2006-01-23 02:26:54 +0100 |
commit | 1bcdd8548286743e1d6b3d53c96a90c6da975620 (patch) | |
tree | b244aa416992bbd06c4153ec2c97022629826ef2 /arch/parisc/kernel/syscall.S | |
parent | [PARISC] Remove {,un}lock_kernel from perf ioctl (diff) | |
download | linux-1bcdd8548286743e1d6b3d53c96a90c6da975620.tar.xz linux-1bcdd8548286743e1d6b3d53c96a90c6da975620.zip |
[PARISC] Add CONFIG_DEBUG_RODATA to protect read-only data
Add the parisc version of the "mark rodata section read only" patches.
Based on code from and Signed-off-by Arjan van de Ven
<arjan@infradead.org>, Ingo Molnar <mingo@elte.hu>, Andi Kleen <ak@muc.de>,
Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>.
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/syscall.S')
-rw-r--r-- | arch/parisc/kernel/syscall.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/kernel/syscall.S b/arch/parisc/kernel/syscall.S index d66163492890..af88afef41bd 100644 --- a/arch/parisc/kernel/syscall.S +++ b/arch/parisc/kernel/syscall.S @@ -650,6 +650,8 @@ end_linux_gateway_page: #define LWS_ENTRY(_name_) .word (lws_##_name_ - linux_gateway_page) #endif + .section .rodata,"a" + .align 4096 /* Light-weight-syscall table */ /* Start of lws table. */ |