powerpc: ftrace, use probe_kernel API to modify code
authorSteven Rostedt <srostedt@redhat.com>
Sat, 15 Nov 2008 00:21:20 +0000 (16:21 -0800)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 20 Nov 2008 18:52:04 +0000 (10:52 -0800)
commite4486fe316895e87672a563c4f36393218f84ff1
tree8cb8e68228e9a9a7c6acf8455d79b3484c8a78a4
parent8fd6e5a8c81e2e9b912ea33c8425a10729db469b
powerpc: ftrace, use probe_kernel API to modify code

Impact: use cleaner probe_kernel API over assembly

Using probe_kernel_read/write interface is a much cleaner approach
than the current assembly version.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
arch/powerpc/kernel/ftrace.c