From patchwork Sat Mar 20 09:14:13 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 87087 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2K9EOf0030537 for ; Sat, 20 Mar 2010 09:14:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752902Ab0CTJOU (ORCPT ); Sat, 20 Mar 2010 05:14:20 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:59399 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899Ab0CTJOT (ORCPT ); Sat, 20 Mar 2010 05:14:19 -0400 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id DF84814F2BC01; Sat, 20 Mar 2010 10:14:17 +0100 (CET) Received: from [92.75.133.218] (helo=[192.168.1.10]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #4) id 1Nsul7-00044z-00; Sat, 20 Mar 2010 10:14:17 +0100 Message-ID: <4BA491E5.4090500@web.de> Date: Sat, 20 Mar 2010 10:14:13 +0100 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Avi Kivity CC: Marcelo Tosatti , kvm@vger.kernel.org Subject: [PATCH] KVM: x86: Fix 32-bit build breakage due to typo References: <1268654397-6650-1-git-send-email-avi@redhat.com> <1268654397-6650-3-git-send-email-avi@redhat.com> <4BA088A5.6000201@web.de> <4BA08D39.5030005@redhat.com> In-Reply-To: <4BA08D39.5030005@redhat.com> X-Enigmail-Version: 0.95.7 X-Sender: jan.kiszka@web.de X-Provags-ID: V01U2FsdGVkX18WtoJqgKkpvOBNXSOdF1pZQ2AidAznwoYALqLt x3FUqe9eL6b2ns8oVwmzYl+K9Jsx8Gu4OwBqBhDued+Qiusn0l TUZuHy+D4= Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sat, 20 Mar 2010 09:14:24 +0000 (UTC) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index bb9a24a..097ad3a 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -3322,7 +3322,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,