ftrace: dont write protect kernel text
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:20:56 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:16:22 +0000 (21:16 +0200)
commit8f0f996e80b980fba07d11961d96a5fefb60976a
treee3dadf2ff9d8d6e3253b072e947204706e4475c0
parenta56be3fe2f65f9f776e727bfd382e35db75911d6
ftrace: dont write protect kernel text

Dynamic ftrace cant work when the kernel has its text write protected.
This patch keeps the kernel from being write protected when
dynamic ftrace is in place.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c