From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuNFm-0002L9-Ap for qemu-devel@nongnu.org; Thu, 05 Nov 2015 11:19:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuNFi-0001Yj-AY for qemu-devel@nongnu.org; Thu, 05 Nov 2015 11:19:10 -0500 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:40388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuNFi-0001YJ-13 for qemu-devel@nongnu.org; Thu, 05 Nov 2015 11:19:06 -0500 Received: from localhost by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Nov 2015 16:19:04 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 51E371B0806E for ; Thu, 5 Nov 2015 16:19:16 +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 tA5GJ1DY4194752 for ; Thu, 5 Nov 2015 16:19:01 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 tA5GJ16X021288 for ; Thu, 5 Nov 2015 09:19:01 -0700 From: Pierre Morel Date: Thu, 5 Nov 2015 17:18:56 +0100 Message-Id: <1446740339-31366-5-git-send-email-pmorel@linux.vnet.ibm.com> In-Reply-To: <1446740339-31366-1-git-send-email-pmorel@linux.vnet.ibm.com> References: <1446740339-31366-1-git-send-email-pmorel@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 4/7] 128bit: adapt sparc mmu_helper for UInt128 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: cornelia.huck@de.ibm.com, pbonzini@redhat.com, pmorel@linux.vnet.ibm.com, peter.maydell@linaro.org Adaptation for target-sparc/mmu_helper.c to the 128 bit arithmetic. Signed-off-by: Pierre Morel --- target-sparc/mmu_helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-sparc/mmu_helper.c b/target-sparc/mmu_helper.c index 2a0c6f0..2c1156e 100644 --- a/target-sparc/mmu_helper.c +++ b/target-sparc/mmu_helper.c @@ -859,7 +859,7 @@ hwaddr sparc_cpu_get_phys_page_debug(CPUState *cs, vaddr addr) } section = memory_region_find(get_system_memory(), phys_addr, 1); memory_region_unref(section.mr); - if (!int128_nz(section.size)) { + if (!uint128_nz(section.size)) { return -1; } return phys_addr; -- 1.7.1