summaryrefslogtreecommitdiff
path: root/vm/vm_phys.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/vm_phys.c')
-rw-r--r--vm/vm_phys.c4
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