Skip to content
Commit 97075c4b authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Tony Luck
Browse files

[IA64] Fix the order of atomic operations in restore_previous_kprobes on ia64



Fix the order of atomic operations to prevent overwriting prev_kprobe[0].
To pop values from stack, we must decrement stack index right AFTER
reading values.

Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent a23fe55e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment