aboutsummaryrefslogtreecommitdiff
path: root/kernel/mm/virtual_mm/page_table_allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/virtual_mm/page_table_allocator.cc')
-rw-r--r--kernel/mm/virtual_mm/page_table_allocator.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/mm/virtual_mm/page_table_allocator.cc b/kernel/mm/virtual_mm/page_table_allocator.cc
index 3ec4896..6a2a07e 100644
--- a/kernel/mm/virtual_mm/page_table_allocator.cc
+++ b/kernel/mm/virtual_mm/page_table_allocator.cc
@@ -56,11 +56,6 @@ prepare(void)
/* Initial table */
if (l_heap == NULL)
make_table((uint32_t *) (7 * MiB));
-
- /* If we're gonna run out of space, allocate a new table with the remaining
- * page */
- if (l_table_index == 1023)
- make_table(allocate());
}
uint32_t *