diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-09 00:29:28 -0500 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-01-09 00:29:28 -0500 |
commit | 2e2e675ad4882eac3e75772cef904ff24964c4b3 (patch) | |
tree | c39a3f8438e29a288f02c26e6d45818522aba15d /kernel/include/common.h | |
parent | 0f68b58faab284b60cfc761b4cc3655a208be350 (diff) |
kernel: physical_mm: Refactor total_free_blocks logic
It fixes a big with there being less free blocks than expected, and
causes the assertion in physical_mm_find_first_free_block() to fail.
Diffstat (limited to 'kernel/include/common.h')
-rw-r--r-- | kernel/include/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/include/common.h b/kernel/include/common.h index 041d3b1..9fa2011 100644 --- a/kernel/include/common.h +++ b/kernel/include/common.h @@ -26,7 +26,7 @@ #define MiB (KiB * KiB) #define ASSERT_NOT_REACHED() \ - printk("ASSERTION FAILED:", "[%s] SHOULD NOT BE REACHED.", __func__); \ + printk("ASSERTION FAILED", "[%s] SHOULD NOT BE REACHED.", __func__); \ halt(); #endif |