From: Stefan Roese Date: Thu, 14 Apr 2011 23:49:53 +0000 (+0000) Subject: powerpc: Don't write protect kernel text with CONFIG_DYNAMIC_FTRACE enabled X-Git-Tag: v2.6.39-rc4~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09597cfe93d3cc2c6e064a3ead5956b882511560;p=pandora-kernel.git powerpc: Don't write protect kernel text with CONFIG_DYNAMIC_FTRACE enabled This problem was noticed on an MPC855T platform. Ftrace did oops when trying to write to the kernel text segment. Many thanks to Joakim for finding the root cause of this problem. Signed-off-by: Stefan Roese Cc: Joakim Tjernlund Cc: Benjamin Herrenschmidt Cc: Steven Rostedt Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed