diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-08-18 13:51:55 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-08-18 13:51:55 +0200 |
| commit | cd665ec172dadd049e7c1830b070f15b58fb9011 (patch) | |
| tree | 42c2eb8ecb984d179263f68cab1c6c2667e8dd2c /kernel/kapi/memory.cpp | |
| parent | 5754a8591252da5d5eeb4281064f0b82bfdc03a8 (diff) | |
| download | kernel-cd665ec172dadd049e7c1830b070f15b58fb9011.tar.xz kernel-cd665ec172dadd049e7c1830b070f15b58fb9011.zip | |
kstd: flatten units namespace
Diffstat (limited to 'kernel/kapi/memory.cpp')
| -rw-r--r-- | kernel/kapi/memory.cpp | 2 |
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); |
