From: Nadav Amit Date: Mon, 2 Jun 2014 15:34:07 +0000 (+0300) Subject: KVM: x86: cmpxchg emulation should compare in reverse order X-Git-Tag: omap-for-v3.17/fixes-against-rc2~184^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37c564f2854bf75969d0ac26e03f5cf2bb7d639f;p=pandora-kernel.git KVM: x86: cmpxchg emulation should compare in reverse order The current implementation of cmpxchg does not update the flags correctly, since the accumulator should be compared with the destination and not the other way around. The current implementation does not update the flags correctly. Signed-off-by: Nadav Amit Signed-off-by: Paolo Bonzini --- Reading git-diff-tree failed