diff options
author | Richard Braun <rbraun@sceen.net> | 2013-05-15 23:18:16 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-05-15 23:18:16 +0200 |
commit | 683050a0eebf8678496bdd8200408361266d6f6e (patch) | |
tree | ac7f2bb6c7bcbf7c22e2b88ebc519a1fbe43616b /vm | |
parent | cf572e25ec9bf2d56c1fef5eeced991dff72db5d (diff) |
kern/list: rename list_insert to list_insert_head
This change increases clarity.
Diffstat (limited to 'vm')
-rw-r--r-- | vm/vm_phys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_phys.c b/vm/vm_phys.c index 9fa6e0a5..1cfc2290 100644 --- a/vm/vm_phys.c +++ b/vm/vm_phys.c @@ -172,7 +172,7 @@ vm_phys_free_list_insert(struct vm_phys_free_list *free_list, assert(page->order == VM_PHYS_ORDER_ALLOCATED); free_list->size++; - list_insert(&free_list->blocks, &page->node); + list_insert_head(&free_list->blocks, &page->node); } static inline void @@ -294,7 +294,7 @@ vm_phys_cpu_pool_push(struct vm_phys_cpu_pool *cpu_pool, struct vm_page *page) { assert(cpu_pool->nr_pages < cpu_pool->size); cpu_pool->nr_pages++; - list_insert(&cpu_pool->pages, &page->node); + list_insert_head(&cpu_pool->pages, &page->node); } static int |