diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-23 13:20:09 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-04 14:30:03 +0200 |
commit | 1110bfe6f5600017258fa6578f9c17ec25b32277 (patch) | |
tree | b61f67ef255b62c4f8632c07a9052331e2c45cb2 /include/exec/poison.h | |
parent | e95e9b88ba5f4a6c17f4d0c3a3a6bf3f648bb328 (diff) |
target/i386: simplify handling of conforming code segments on interrupt
Move the handling of conforming code segments before the handling
of stack switch.
Because dpl == cpl after the new "if", it's now unnecessary to check
the C bit when testing dpl < cpl. Furthermore, dpl > cpl is checked
slightly above the modified code, so the final "else" is unreachable
and we can remove it.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/poison.h')
0 files changed, 0 insertions, 0 deletions