From patchwork Thu Feb 26 12:39:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Borntraeger X-Patchwork-Id: 8918 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 n1QCehHN014294 for ; Thu, 26 Feb 2009 12:40:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752906AbZBZMkm (ORCPT ); Thu, 26 Feb 2009 07:40:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752874AbZBZMkm (ORCPT ); Thu, 26 Feb 2009 07:40:42 -0500 Received: from mtagate6.uk.ibm.com ([195.212.29.139]:33838 "EHLO mtagate6.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752834AbZBZMkl (ORCPT ); Thu, 26 Feb 2009 07:40:41 -0500 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate6.uk.ibm.com (8.14.3/8.13.8) with ESMTP id n1QCdb43324330 for ; Thu, 26 Feb 2009 12:39:37 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n1QCdbfC2723840 for ; Thu, 26 Feb 2009 12:39:37 GMT Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1QCdaCD007057 for ; Thu, 26 Feb 2009 12:39:37 GMT Received: from dyn-9-152-212-32.boeblingen.de.ibm.com (dyn-9-152-212-32.boeblingen.de.ibm.com [9.152.212.32]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n1QCdaw5007021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 26 Feb 2009 12:39:36 GMT From: Christian Borntraeger To: Avi Kivity Subject: [PATCH] kvm: declare kvm_ioapic in kvm_host.h Date: Thu, 26 Feb 2009 13:39:36 +0100 User-Agent: KMail/1.9.9 Cc: Sheng Yang , Marcelo Tosatti , Gleb Natapov , kvm@vger.kernel.org References: <1235553536-32690-1-git-send-email-sheng@linux.intel.com> In-Reply-To: <1235553536-32690-1-git-send-email-sheng@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200902261339.36237.borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org With todays git I get the following warnings on s390: CC [M] arch/s390/kvm/kvm-s390.o In file included from arch/s390/kvm/kvm-s390.c:22: include/linux/kvm_host.h:357: warning: 'struct kvm_ioapic' declared inside parameter list include/linux/kvm_host.h:357: warning: its scope is only this definition or declaration, which is probably not what you want [...] Declaring struct kvm_ioapic should help. Signed-off-by: Christian Borntraeger --- include/linux/kvm_host.h | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: kvm/include/linux/kvm_host.h =================================================================== --- kvm.orig/include/linux/kvm_host.h +++ kvm/include/linux/kvm_host.h @@ -41,6 +41,7 @@ #define KVM_USERSPACE_IRQ_SOURCE_ID 0 +struct kvm_ioapic; struct kvm_vcpu; extern struct kmem_cache *kvm_vcpu_cache;