From patchwork Mon Apr 27 08:07:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 20076 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3R88T3V007274 for ; Mon, 27 Apr 2009 08:08:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753903AbZD0II1 (ORCPT ); Mon, 27 Apr 2009 04:08:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754233AbZD0II0 (ORCPT ); Mon, 27 Apr 2009 04:08:26 -0400 Received: from mx2.redhat.com ([66.187.237.31]:51824 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754162AbZD0IIZ (ORCPT ); Mon, 27 Apr 2009 04:08:25 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n3R88Pxw012991 for ; Mon, 27 Apr 2009 04:08:25 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n3R88OHp022253; Mon, 27 Apr 2009 04:08:24 -0400 Received: from redhat.com (vpn-10-134.str.redhat.com [10.32.10.134]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n3R88M3M007042; Mon, 27 Apr 2009 04:08:23 -0400 Date: Mon, 27 Apr 2009 11:07:24 +0300 From: "Michael S. Tsirkin" To: avi@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH] qemu-kvm: fix compiler warning Message-ID: <20090427080724.GA30242@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org kvm-common.h:25:7: warning: "__ia64__" is not defined Signed-off-by: Michael S. Tsirkin --- kvm/libkvm/kvm-common.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kvm/libkvm/kvm-common.h b/kvm/libkvm/kvm-common.h index 96361e8..591fb53 100644 --- a/kvm/libkvm/kvm-common.h +++ b/kvm/libkvm/kvm-common.h @@ -22,7 +22,7 @@ #define KVM_MAX_NUM_MEM_REGIONS 1u #define MAX_VCPUS 64 #define LIBKVM_S390_ORIGIN (0UL) -#elif __ia64__ +#elif defined(__ia64__) #define KVM_MAX_NUM_MEM_REGIONS 32u #define MAX_VCPUS 256 #else