Received: from eggs.gnu.org ([2001:4830:134:3::10]:44830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZVG-00054p-Ff for qemu-devel@nongnu.org; Wed, 26 Nov 2014 05:07:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtZV7-0007QA-EM for qemu-devel@nongnu.org; Wed, 26 Nov 2014 05:07:18 -0500 Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:41946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtZV7-0007Pr-59 for qemu-devel@nongnu.org; Wed, 26 Nov 2014 05:07:09 -0500 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Nov 2014 10:07:06 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 1B6BE219005C for ; Wed, 26 Nov 2014 10:06:36 +0000 (GMT) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sAQA73Ux15270212 for ; Wed, 26 Nov 2014 10:07:03 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sAQA72Qp023018 for ; Wed, 26 Nov 2014 03:07:03 -0700 From: Christian Borntraeger Date: Wed, 26 Nov 2014 11:07:24 +0100 Message-Id: <1416996444-45385-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH] s390x/kvm: Fix compile error List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: "Michael S. Tsirkin" , qemu-devel , Christian Borntraeger , Jens Freimann , Cornelia Huck , Igor Mammedov commit a2b257d6212a "memory: expose alignment used for allocating RAM as MemoryRegion API" triggered a compile error on KVM/s390x. Fix the prototype and the implementation of legacy_s390_alloc. Cc: Igor Mammedov Cc: Michael S. Tsirkin Signed-off-by: Christian Borntraeger --- target-s390x/kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 80fb0aa..5349075 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -110,7 +110,7 @@ static int cap_async_pf; static uint64_t cpu_model_call_cache; -static void *legacy_s390_alloc(size_t size); +static void *legacy_s390_alloc(size_t size, uint64_t *align); static int kvm_s390_check_clear_cmma(KVMState *s) { @@ -545,7 +545,7 @@ int kvm_s390_set_clock(uint8_t *tod_clock_high, uint64_t *tod_clock) * to grow. We also have to use MAP parameters that avoid * read-only mapping of guest pages. */ -static void *legacy_s390_alloc(size_t size, , uint64_t *align) +static void *legacy_s390_alloc(size_t size, uint64_t *align) { void *mem; -- 1.9.3