Received: from eggs.gnu.org ([2001:4830:134:3::10]:57873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVEvQ-000600-II for qemu-devel@nongnu.org; Fri, 28 Aug 2015 04:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVEvM-0002cA-Jz for qemu-devel@nongnu.org; Fri, 28 Aug 2015 04:22:16 -0400 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:60047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVEvM-0002YY-Bx for qemu-devel@nongnu.org; Fri, 28 Aug 2015 04:22:12 -0400 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 28 Aug 2015 09:22:09 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 40EDA17D8024 for ; Fri, 28 Aug 2015 09:23:47 +0100 (BST) Received: from d06av12.portsmouth.uk.ibm.com (d06av12.portsmouth.uk.ibm.com [9.149.37.247]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7S8M7fc38731788 for ; Fri, 28 Aug 2015 08:22:07 GMT Received: from d06av12.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av12.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7S8Lv5i010184 for ; Fri, 28 Aug 2015 02:21:58 -0600 Date: Fri, 28 Aug 2015 10:21:50 +0200 From: Cornelia Huck Message-ID: <20150828102150.4b1c3e6d.cornelia.huck@de.ibm.com> In-Reply-To: <1440445026-26522-19-git-send-email-rth@twiddle.net> References: <1440445026-26522-1-git-send-email-rth@twiddle.net> <1440445026-26522-19-git-send-email-rth@twiddle.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 18/18] linux-user: remove useless macros GUEST_BASE and RESERVED_VA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, Laurent Vivier On Mon, 24 Aug 2015 12:37:06 -0700 Richard Henderson wrote: > From: Laurent Vivier >=20 > As we have removed CONFIG_USE_GUEST_BASE, we always use a guest base > and the macros GUEST_BASE and RESERVED_VA become useless: replace > them by their values. >=20 > Reviewed-by: Alexander Graf > Signed-off-by: Laurent Vivier > Message-Id: <1440420834-8388-1-git-send-email-laurent@vivier.eu> > Signed-off-by: Richard Henderson > --- > include/exec/cpu-all.h | 4 +--- > include/exec/cpu_ldst.h | 8 ++++---- > linux-user/mmap.c | 20 ++++++++++---------- > tcg/aarch64/tcg-target.c | 10 +++++----- > tcg/arm/tcg-target.c | 8 ++++---- > tcg/i386/tcg-target.c | 22 +++++++++++----------- > tcg/ia64/tcg-target.c | 21 +++++++++------------ > tcg/mips/tcg-target.c | 16 ++++++++-------- > tcg/ppc/tcg-target.c | 12 ++++-------- > tcg/s390/tcg-target.c | 13 ++++--------- > tcg/sparc/tcg-target.c | 8 ++++---- > 11 files changed, 64 insertions(+), 78 deletions(-) This seems to break compilation on s390 for me: In file included from /home/cohuck/git/qemu/tcg/tcg.c:258:0: /home/cohuck/git/qemu/tcg/s390/tcg-target.c: In function =E2=80=98tcg_targe= t_qemu_prologue=E2=80=99: /home/cohuck/git/qemu/tcg/s390/tcg-target.c:2347:9: error: =E2=80=98guest_b= ase=E2=80=99 undeclared (first use in this function) if (guest_base >=3D 0x80000) { ^ (once for each of the softmmu subdirs I build) config.log says: # Configured with: '/home/cohuck/git/qemu/build/../configure' '--target-lis= t=3Ds390x-softmmu s390x-linux-user aarch64-softmmu arm-softmmu mips-softmmu= ppc-softmmu ppc64-softmmu' '--enable-kvm' '--enable-vhost-net' '--enable-v= irtio-blk-data-plane' '--enable-linux-aio'