From c35a237b1297dd6b002f91b37b9c1a57d07e5e0e Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Wed, 18 Nov 2020 15:19:22 +0000 Subject: [PATCH] fastmodel: Replace xrange with range to be python3 compliant Change-Id: I69ef5d744e2642af95383fbda920464178380757 Signed-off-by: Giacomo Travaglini Reviewed-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37716 Reviewed-by: Gabe Black Maintainer: Gabe Black Tested-by: kokoro --- src/arch/arm/fastmodel/GIC/FastModelGIC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/arm/fastmodel/GIC/FastModelGIC.py b/src/arch/arm/fastmodel/GIC/FastModelGIC.py index 3298be944..ac81de594 100644 --- a/src/arch/arm/fastmodel/GIC/FastModelGIC.py +++ b/src/arch/arm/fastmodel/GIC/FastModelGIC.py @@ -509,7 +509,7 @@ class FastModelGIC(BaseGic): ] ranges += [ AddrRange(its_bases[i], size=2 * gic_frame_size) - for i in xrange(sc_gic.its_count) + for i in range(sc_gic.its_count) ] return ranges -- 2.30.2