Config: Fix fs.py's call to CacheConfig.config_cache.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 28 Feb 2010 02:52:57 +0000 (18:52 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 28 Feb 2010 02:52:57 +0000 (18:52 -0800)
configs/example/fs.py

index c0b434eb31cfe1742a5520baae82dfe08040b99e..a5a5661f0edc01c04b1a8aa4d7448a95ea4477f6 100644 (file)
@@ -121,10 +121,10 @@ if options.kernel is not None:
 if options.script is not None:
     test_sys.readfile = options.script
 
-CacheConfig.config_cache(options, system)
-
 test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
 
+CacheConfig.config_cache(options, test_sys)
+
 if options.caches or options.l2cache:
     test_sys.bridge.filter_ranges_a=[AddrRange(0, Addr.max)]
     test_sys.bridge.filter_ranges_b=[AddrRange(0, size='8GB')]