summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2019-11-08 17:09:41 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2019-11-12 09:50:25 +0000
commit70bfe7aa57c3fac79433bfdfb1c6732996bfc727 (patch)
treed58eded8e5361a62efd47ec493f694ac32439427 /tests
parent6dd6500b3c28e687c6296252caec564a47ac9726 (diff)
downloadgem5-70bfe7aa57c3fac79433bfdfb1c6732996bfc727.tar.xz
tests: Using super in arm_generic whenever possible
This exclude the case where multiple inheritance is used. Change-Id: Id1a46ca5c6c526a1a29a2cff7b00d7e3b6a79273 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22685 Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu> Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/configs/arm_generic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/configs/arm_generic.py b/tests/configs/arm_generic.py
index 79cc5d6ea..a243f137f 100644
--- a/tests/configs/arm_generic.py
+++ b/tests/configs/arm_generic.py
@@ -56,7 +56,7 @@ class ArmSESystemUniprocessor(BaseSESystemUniprocessor):
"""
def __init__(self, **kwargs):
- BaseSESystem.__init__(self, **kwargs)
+ super(ArmSESystemUniprocessor, self).__init__(**kwargs)
def create_caches_private(self, cpu):
# The atomic SE configurations do not use caches
@@ -125,7 +125,7 @@ class LinuxArmFSSystem(LinuxArmSystemBuilder,
Keyword Arguments:
machine_type -- String describing the platform to simulate
"""
- BaseSystem.__init__(self, **kwargs)
+ BaseFSSystem.__init__(self, **kwargs)
LinuxArmSystemBuilder.__init__(self, machine_type, **kwargs)
def create_caches_private(self, cpu):