[PATCH] x86/x86_64: mark rodata section read only: generic infrastructure
authorArjan van de Ven <arjan@infradead.org>
Fri, 6 Jan 2006 08:12:01 +0000 (00:12 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:36 +0000 (08:33 -0800)
commit37b73c828185731f6236a6387c02d7b08c150810
tree312b9f082f78072aba62ee2230e417928156873e
parentd89c145c0344fe2180336af6a309a59a8bc8c1c0
[PATCH] x86/x86_64: mark rodata section read only: generic infrastructure

Generic prep-work for marking the .rodata section readonly:
* Align the rodata section at 4Kb boundary
* call the mark_rodata_ro() function when available

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/vmlinux.lds.h
init/main.c