tests: Using super in arm_generic whenever possible
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 8 Nov 2019 17:09:41 +0000 (17:09 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 12 Nov 2019 09:50:25 +0000 (09:50 +0000)
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>
tests/configs/arm_generic.py

index 79cc5d6ea5d80d9c8098f0e689317cebadf5379d..a243f137fd5d35d2372d012b2c353bd31a9c8dba 100644 (file)
@@ -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):