summaryrefslogtreecommitdiffstats
path: root/drivers/lguest
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2014-04-25 18:53:32 +0200
committerOleg Nesterov <oleg@redhat.com>2014-04-30 19:10:40 +0200
commit83cd591485e558ab70aed45ce7261ce3f5ee8746 (patch)
tree7ab3da68050aaeba3646426a3a7db3947d3bf673 /drivers/lguest
parent1dc76e6eacef271230d9ff6fd0f91824bda03f44 (diff)
downloadlinux-83cd591485e558ab70aed45ce7261ce3f5ee8746.tar.gz
linux-83cd591485e558ab70aed45ce7261ce3f5ee8746.tar.bz2
linux-83cd591485e558ab70aed45ce7261ce3f5ee8746.zip
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>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions