Config: Fix a typo in the se.py script for setting fastmem
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 16 May 2012 16:37:08 +0000 (12:37 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 16 May 2012 16:37:08 +0000 (12:37 -0400)
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.

configs/example/se.py

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