This commit is contained in:
bernard committed 2014-04-20 10:10:37 +08:00
commit e07f4033ba
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ SECTIONS
.text :
{
KEEP(build/libcpu/ppc/ppc405/start_gcc.o (.text))
KEEP(build/kernel/libcpu/ppc/ppc405/start_gcc.o (.text))
*(.text)
*(.fixup)
+2
View File
@@ -356,6 +356,8 @@ void *rt_mp_alloc(rt_mp_t mp, rt_int32_t time)
/* get current thread */
thread = rt_thread_self();
thread->error = RT_EOK;
/* need suspend thread */
rt_thread_suspend(thread);
rt_list_insert_after(&(mp->suspend_thread), &(thread->tlist));