Renamed many thread_* line of calls.

Renamed so that task_* gets a ktcb directly, and thread_* line of
calls make the search for the ktcb.
This commit is contained in:
Bahadir Balban
2009-10-19 19:24:40 +03:00
parent cfa35e4a66
commit 62c4249d95
4 changed files with 54 additions and 33 deletions

View File

@@ -241,7 +241,7 @@ void sched_suspend_sync(void)
preempt_enable();
if (current->flags & TASK_EXITING)
thread_make_zombie(current);
task_make_zombie(current);
/*
* Async wake up any waiting pagers