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

@@ -113,7 +113,7 @@ void fault_ipc_to_pager(u32 faulty_pc, u32 fsr, u32 far)
if (current->tid == current->pagerid) {
printk("Pager (%d) self-faulting. Exiting.\n",
current->tid);
thread_destroy_current();
task_destroy_current();
}
/* Send ipc to the task's pager */