changeset 1895:6695eba251e1 draft

fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Jan 2014 10:59:08 +0900
parents b37dfbf3380d
children 7790ef405810
files TaskManager/kernel/ppe/CpuThreads.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/CpuThreads.cc	Sun Jan 12 10:28:52 2014 +0900
+++ b/TaskManager/kernel/ppe/CpuThreads.cc	Sun Jan 12 10:59:08 2014 +0900
@@ -61,7 +61,7 @@
     c_scheduler->init(manager,argt->useRefDma);
     c_scheduler->id = (int)argt->cpuid;
     c_scheduler->mincpu = (int)argt->id_offset;
-    c_scheduler->maxcpu = (int)argt->cpu_num + (int)argt->id_offset;
+    c_scheduler->maxcpu = (int)argt->cpu_num -1 + (int)argt->id_offset;
     manager->set_scheduler(c_scheduler);
     SchedRegister(ShowTime);
     SchedRegister(StartProfile);