rt: Add a field to rust_task to hold its scheduler

This commit is contained in:
Brian Anderson
2012-02-03 15:18:58 -08:00
parent 8d881967a2
commit 3d0e7a7af3
3 changed files with 3 additions and 2 deletions

View File

@@ -233,6 +233,7 @@ rust_task::rust_task(rust_task_thread *thread, rust_task_list *state,
ref_count(1),
stk(NULL),
runtime_sp(0),
sched(thread->sched),
thread(thread),
cache(NULL),
kernel(thread->kernel),