diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-03-20 05:14:13 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:16:34 -0400 |
commit | 9749a6c0f0a4f88ae7bad4f65d7da32769e9b2b7 (patch) | |
tree | 721da08199f528d58b5386be3acceeff16f96d2c /arch/x86/kvm/x86.c | |
parent | 92bf9748b5bc381070f6adf0b56efd3428e4a97b (diff) |
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>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index cc540f27053f..b4d3363b78e6 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3328,7 +3328,7 @@ EXPORT_SYMBOL_GPL(emulator_write_emulated); | |||
3328 | # define CMPXCHG64(ptr, old, new) CMPXCHG_TYPE(u64, ptr, old, new) | 3328 | # define CMPXCHG64(ptr, old, new) CMPXCHG_TYPE(u64, ptr, old, new) |
3329 | #else | 3329 | #else |
3330 | # define CMPXCHG64(ptr, old, new) \ | 3330 | # define CMPXCHG64(ptr, old, new) \ |
3331 | (cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u *)(new)) == *(u64 *)(old)) | 3331 | (cmpxchg64((u64 *)(ptr), *(u64 *)(old), *(u64 *)(new)) == *(u64 *)(old)) |
3332 | #endif | 3332 | #endif |
3333 | 3333 | ||
3334 | static int emulator_cmpxchg_emulated(unsigned long addr, | 3334 | static int emulator_cmpxchg_emulated(unsigned long addr, |