diff TaskManager/kernel/main.cc @ 1060:b4b35255a99c draft

spuidle fix.
author tkaito@henri
date Wed, 15 Dec 2010 18:00:05 +0900
parents 8cd123d2f3ca
children ca73615ab585
line wrap: on
line diff
--- a/TaskManager/kernel/main.cc	Thu Dec 16 00:13:11 2010 +0900
+++ b/TaskManager/kernel/main.cc	Wed Dec 15 18:00:05 2010 +0900
@@ -41,7 +41,7 @@
         } else if (strcmp(argv[i], "-p") == 0) {
 	    profile = 1;
         } else if (strcmp(argv[i], "-spuidle") == 0) {
-	    spuIdle = 1;
+	    spuIdle = atoi(argv[++i]);
 	}
     }