Config: Fix a typo in the se.py script for setting fastmem

This patch changes a hardcoded index 0 to the appropriate CPU index so
that fastmem is set correctly for all the CPUs in the system.
This commit is contained in:
Andreas Hansson 2012-05-16 12:37:08 -04:00
parent e62beaaa8f
commit 7f14ea0c00

View file

@ -166,7 +166,7 @@ for i in xrange(np):
system.cpu[i].workload = multiprocesses[i] system.cpu[i].workload = multiprocesses[i]
if options.fastmem: if options.fastmem:
system.cpu[0].fastmem = True system.cpu[i].fastmem = True
if options.checker: if options.checker:
system.cpu[i].addCheckerCpu() system.cpu[i].addCheckerCpu()