changeset 1599:549d0961980b draft

fix
author one
date Tue, 02 Apr 2013 19:01:35 +0900
parents 0f94d9d580f9
children e63ce6aee28e
files TaskManager/kernel/ppe/CpuThreads.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/CpuThreads.cc	Mon Apr 01 19:00:49 2013 +0900
+++ b/TaskManager/kernel/ppe/CpuThreads.cc	Tue Apr 02 19:01:35 2013 +0900
@@ -108,10 +108,10 @@
         if (cpu_num < dim_count)
             p->self->flag.dim_count = cpu_num;
         for (int i = 0; i < cpu_num; i++) {
-            send_mail(i+SPE_0,1,(memaddr*)p); // i+min_cpu()
+            send_mail(i+SPE_0,1,(memaddr*)&p); // i+min_cpu()
 	}
     } else {
-        send_mail(cpu_num,1,(memaddr*)p);
+        send_mail(cpu_num,1,(memaddr*)&p);
     }
 }