]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ftrace: Remove freeing of old_hash from ftrace_hash_move()
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 24 Jul 2014 19:33:41 +0000 (15:33 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 10 Sep 2014 14:48:42 +0000 (10:48 -0400)
commit3296fc4e2509fa8870923ed52e7990040b151847
treec89a3b63489c66a2472d08465ef54fe8c163b1e0
parentf7aad4e1a8221210db7eb434349cc6fe87aeee8c
ftrace: Remove freeing of old_hash from ftrace_hash_move()

ftrace_hash_move() currently frees the old hash that is passed to it
after replacing the pointer with the new hash. Instead of having the
function do that chore, have the caller perform the free.

This lets the ftrace_hash_move() be used a bit more freely, which
is needed for changing the way the trampoline logic is done.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c