From ac91f90145f824b202d79a9e275fc5cee1071159 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 14 Feb 2012 12:11:18 -0500 Subject: Script: Fix the scripts that use the num_cpus cache parameter This patch merely removes the use of the num_cpus cache parameter which no longer exists after the introduction of the masterIds. The affected scripts fail when trying to set the parameter. Note that this patch does not update the regression stats. --- configs/common/CacheConfig.py | 1 - tests/configs/realview-simple-atomic-dual.py | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/common/CacheConfig.py b/configs/common/CacheConfig.py index 720eb9f56..b9192fcbf 100644 --- a/configs/common/CacheConfig.py +++ b/configs/common/CacheConfig.py @@ -46,7 +46,6 @@ def config_cache(options, system): system.tol2bus = Bus() system.l2.cpu_side = system.tol2bus.master system.l2.mem_side = system.membus.slave - system.l2.num_cpus = options.num_cpus for i in xrange(options.num_cpus): if options.caches: diff --git a/tests/configs/realview-simple-atomic-dual.py b/tests/configs/realview-simple-atomic-dual.py index 985f2016b..20bf89bed 100644 --- a/tests/configs/realview-simple-atomic-dual.py +++ b/tests/configs/realview-simple-atomic-dual.py @@ -83,7 +83,6 @@ system.toL2Bus = Bus() system.l2c = L2(size='4MB', assoc=8) system.l2c.cpu_side = system.toL2Bus.master system.l2c.mem_side = system.membus.slave -system.l2c.num_cpus = 2 #connect up the cpu and l1s for c in cpus: -- cgit v1.2.3