aboutsummaryrefslogtreecommitdiff
path: root/kernel/kapi/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kapi/memory.cpp')
-rw-r--r--kernel/kapi/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/kapi/memory.cpp b/kernel/kapi/memory.cpp
index 4cba7238..a0445645 100644
--- a/kernel/kapi/memory.cpp
+++ b/kernel/kapi/memory.cpp
@@ -117,7 +117,7 @@ namespace kapi::memory
{
using namespace kstd::units_literals;
- auto const bitmap_bytes = kstd::units::bytes{(frame_count + 7uz) / 8uz};
+ auto const bitmap_bytes = kstd::bytes{(frame_count + 7uz) / 8uz};
auto const bitmap_pages = (bitmap_bytes + page::size - 1_B) / page::size;
auto const bitmap_frames = allocate_many_frames(bitmap_pages);