From: Giacomo Travaglini Date: Fri, 8 Nov 2019 17:09:41 +0000 (+0000) Subject: tests: Using super in arm_generic whenever possible X-Git-Tag: v19.0.0.0~308 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70bfe7aa57c3fac79433bfdfb1c6732996bfc727;p=gem5.git 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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22685 Reviewed-by: Bobby R. Bruce Maintainer: Bobby R. Bruce Tested-by: kokoro --- 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):