diff TaskManager/kernel/ppe/TaskManagerImpl.cc @ 664:7405d92733a8

word count
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 03 Dec 2009 00:20:28 +0900
parents 7c9ded1ea750
children 61b59376aec5
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/TaskManagerImpl.cc	Wed Dec 02 22:20:32 2009 +0900
+++ b/TaskManager/kernel/ppe/TaskManagerImpl.cc	Thu Dec 03 00:20:28 2009 +0900
@@ -126,7 +126,10 @@
 void
 TaskManagerImpl::set_task_cpu(HTaskPtr task, CPU_TYPE type)
 {
-    task->cpu_type = type;
+    if (machineNum==0)
+	task->cpu_type = CPU_PPE ;
+    else
+	task->cpu_type = type;
 }
 
 /**