]> xenbits.xensource.com Git - people/iwj/xen.git/commit
x86/emul: Drop X86EMUL_CMPXCHG_FAILED
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 24 Nov 2016 18:31:34 +0000 (18:31 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 2 Dec 2016 17:23:01 +0000 (17:23 +0000)
commitbfce0e62c3dc8b18b15da89672e0c054ad2bb659
treee05eef31972f27a87fc967f14e3c06b5b8fa1642
parentf600fa5345d008ec686bfe2c579bbb37b11c7972
x86/emul: Drop X86EMUL_CMPXCHG_FAILED

X86EMUL_CMPXCHG_FAILED was introduced in c/s d430aae25 in 2005.  Even at the
time it alised what is now X86EMUL_RETRY (as well as what is now
X86EMUL_EXCEPTION).  I am not sure why the distinction was considered useful
at the time.

It is only used twice; there is no need to call it out differently from other
uses of X86EMUL_RETRY.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/mm.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/x86_emulate/x86_emulate.h