summaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-05-15 23:18:16 +0200
committerRichard Braun <rbraun@sceen.net>2013-05-15 23:18:16 +0200
commit683050a0eebf8678496bdd8200408361266d6f6e (patch)
treeac7f2bb6c7bcbf7c22e2b88ebc519a1fbe43616b /kern/thread.c
parentcf572e25ec9bf2d56c1fef5eeced991dff72db5d (diff)
kern/list: rename list_insert to list_insert_head
This change increases clarity.
Diffstat (limited to 'kern/thread.c')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index ecabbe54..6cd56ee9 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -784,7 +784,7 @@ thread_sched_ts_enqueue(struct thread_ts_runq *ts_runq, unsigned long round,
group->weight = group_weight;
/* Insert at the front of the group to improve interactivity */
- list_insert(&group->threads, &thread->ts_ctx.group_node);
+ list_insert_head(&group->threads, &thread->ts_ctx.group_node);
list_insert_tail(&ts_runq->threads, &thread->ts_ctx.runq_node);
thread->ts_ctx.ts_runq = ts_runq;
}