diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-04-26 04:31:19 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-07-03 00:14:39 -0400 |
commit | 65b8c7226eb74a7db1a618d69d5cb0cb5f13e99d (patch) | |
tree | 72b4b1f749c2bccb9b3ceda3f3b8279d38738ee5 /arch/powerpc/kernel/smp-tbsync.c | |
parent | b6e3796834faefe4b6e9a2aedfe12665cd51fbc5 (diff) |
powerpc/ftrace: Use patch_instruction instead of probe_kernel_write()
The patch_instruction() interface is made to modify kernel text. It is
safer to use that then the probe_kernel_write() when modifying kernel
code.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/smp-tbsync.c')
0 files changed, 0 insertions, 0 deletions