• Steven Rostedt's avatar
    ftrace: fix unlocking of hash · 644f991d
    Steven Rostedt authored
    This must be brown paper bag week for Steven Rostedt!
    
    While working on ftrace for PPC, I discovered that the hash locking done
    when CONFIG_FTRACE_MCOUNT_RECORD is not set, is totally incorrect.
    
    With a cut and paste error, I had the hash lock macro to lock for both
    hash_lock _and_ hash_unlock!
    
    This bug did not affect x86 since this bug was introduced when
    CONFIG_FTRACE_MCOUNT_RECORD was added to x86.
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    644f991d
ftrace.c 39 KB