KVM: x86: Fix 32-bit build breakage due to typo
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
92bf9748b5
commit
9749a6c0f0
|
@ -3328,7 +3328,7 @@ EXPORT_SYMBOL_GPL(emulator_write_emulated);
|
|||
# define CMPXCHG64(ptr, old, new) CMPXCHG_TYPE(u64, ptr, old, new)
|
||||
#else
|
||||
# define CMPXCHG64(ptr, old, new) \
|
||||
(cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u *)(new)) == *(u64 *)(old))
|
||||
(cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old))
|
||||
#endif
|
||||
|
||||
static int emulator_cmpxchg_emulated(unsigned long addr,
|
||||
|
|
Loading…
Reference in New Issue