From 62d395d206171fdaf3fa62c495633990198db6c4 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 21 Nov 2022 14:02:17 +0200 Subject: possible optimisations --- common/pmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/pmem.c') 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 */ -- cgit v1.3