summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-02-14 12:11:18 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2012-02-14 12:11:18 -0500
commitac91f90145f824b202d79a9e275fc5cee1071159 (patch)
treebbf97d77cdf2d2cf97fb56cfc8a3b3d7ed914b16
parent00978170f3b42ea83280c1b8f4b1610f5e352394 (diff)
downloadgem5-ac91f90145f824b202d79a9e275fc5cee1071159.tar.xz
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.
-rw-r--r--configs/common/CacheConfig.py1
-rw-r--r--tests/configs/realview-simple-atomic-dual.py1
2 files changed, 0 insertions, 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: