From: Greg Kurz Date: Tue, 26 May 2020 16:20:37 +0000 (+0200) Subject: target/ppc: Fix argument to ppc_radix64_partition_scoped_xlate() again X-Git-Tag: v5.1.0-rc0~108^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47e112c4dd8ca0bd4d7872f8bf1a97183915069f;p=thirdparty%2Fqemu.git target/ppc: Fix argument to ppc_radix64_partition_scoped_xlate() again The penultimate argument of function ppc_radix64_partition_scoped_xlate() has the bool type. Fixes: d04ea940c597 "target/ppc: Add support for Radix partition-scoped translation" Signed-off-by: Greg Kurz Message-Id: <159051003729.407106.10610703877543955831.stgit@bahia.lan> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: David Gibson --- diff --git a/target/ppc/mmu-radix64.c b/target/ppc/mmu-radix64.c index 0d3922537c4..c60bf313573 100644 --- a/target/ppc/mmu-radix64.c +++ b/target/ppc/mmu-radix64.c @@ -513,7 +513,7 @@ static int ppc_radix64_xlate(PowerPCCPU *cpu, vaddr eaddr, int rwx, ret = ppc_radix64_partition_scoped_xlate(cpu, rwx, eaddr, g_raddr, pate, raddr, &prot, &psize, - 0, guest_visible); + false, guest_visible); if (ret) { return ret; }