aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/paging/paging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/paging/paging.c')
-rw-r--r--src/kernel/paging/paging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/paging/paging.c b/src/kernel/paging/paging.c
index 33c57bd..e23c02c 100644
--- a/src/kernel/paging/paging.c
+++ b/src/kernel/paging/paging.c
@@ -146,6 +146,7 @@ uint32_t paging_alloc_pages(uint32_t count)
{
uint32_t ptr = paging_find_pages(count);
paging_set_used(ptr, count);
+ paging_set_user(ptr, count);
return ptr;
}