KVM: x86: Fix 32-bit build breakage due to typo
authorJan Kiszka <jan.kiszka@web.de>
Sat, 20 Mar 2010 09:14:13 +0000 (10:14 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:34 +0000 (12:16 +0300)
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c

index cc540f2..b4d3363 100644 (file)
@@ -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,