aboutsummaryrefslogtreecommitdiff
path: root/common/pmem.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-11-21 14:02:17 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-11-21 14:02:17 +0200
commit62d395d206171fdaf3fa62c495633990198db6c4 (patch)
treebed68b4a0fd5ff5897f78418fd3527eb05c72ec9 /common/pmem.c
parentd312c853a8c9e6e2fd457fa5f840e65a9a738e7d (diff)
downloadkmi-62d395d206171fdaf3fa62c495633990198db6c4.tar.gz
kmi-62d395d206171fdaf3fa62c495633990198db6c4.zip
possible optimisations
Diffstat (limited to 'common/pmem.c')
-rw-r--r--common/pmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/pmem.c b/common/pmem.c
index b8a453a..a245f43 100644
--- a/common/pmem.c
+++ b/common/pmem.c
@@ -622,9 +622,10 @@ void init_pmem(void *fdt)
size_t probe_size = probe_pmap(ram_size);
size_t actual_size = populate_pmap(ram_base, ram_size, pmap_base);
- if (probe_size != actual_size)
+ if (probe_size != actual_size) {
bug("probe_size (%#lx) != actual_size (%#lx)\n", probe_size,
actual_size);
+ }
/* mark init stack, this should be unmapped once we get to executing
* processes */