commit | 83cd591485e558ab70aed45ce7261ce3f5ee8746 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Fri Apr 25 18:53:32 2014 +0200 |
committer | Oleg Nesterov <oleg@redhat.com> | Wed Apr 30 19:10:40 2014 +0200 |
tree | 7ab3da68050aaeba3646426a3a7db3947d3bf673 | |
parent | 1dc76e6eacef271230d9ff6fd0f91824bda03f44 [diff] |
uprobes/x86: Cleanup the usage of UPROBE_FIX_IP/UPROBE_FIX_CALL Now that UPROBE_FIX_IP/UPROBE_FIX_CALL are mutually exclusive we can use a single "fix_ip_or_call" enum instead of 2 fix_* booleans. This way the logic looks more understandable and clean to me. While at it, join "case 0xea" with other "ip is correct" ret/lret cases. Also change default_post_xol_op() to use "else if" for the same reason. Signed-off-by: Oleg Nesterov <oleg@redhat.com>