]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commit
x86emul: drop redundant #GP checks
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:21:38 +0000 (13:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Feb 2016 12:21:38 +0000 (13:21 +0100)
commite2d1fe89da0ced77546e84e1563c906380a9274f
treea14ed4f59ebf29f05ccb0042779b3f60c4c4ea1e
parent6fb9fbf5e6c71716c7218ca0ac99cd756d68a3d2
x86emul: drop redundant #GP checks

in_protmode() implies !in_realmode(), so we don't need to check both.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c