X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=e122903e8e46823ed2a4b987cf3264782ca3040e;hp=c2a0e64b16326c5ce4f28b20cb4a048ae6322d30;hb=f269333700038603703ec79c909d514bee731faf;hpb=27638103f249ffbe9768603b9baff199950fd9f6 diff --git a/sched.c b/sched.c index c2a0e64b..e122903e 100644 --- a/sched.c +++ b/sched.c @@ -125,11 +125,11 @@ void register_task(struct task *t) PARA_INFO_LOG("registering %s (%p)\n", t->status, t); if (t->pre_select) { PARA_DEBUG_LOG("pre_select: %p\n", &t->pre_select); - list_add(&t->pre_select_node, &pre_select_list); + para_list_add(&t->pre_select_node, &pre_select_list); } if (t->post_select) { PARA_DEBUG_LOG("post_select: %p\n", &t->pre_select); - list_add(&t->post_select_node, &post_select_list); + para_list_add(&t->post_select_node, &post_select_list); } }