aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386at/biosmem.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/i386/i386at/biosmem.c b/i386/i386at/biosmem.c
index a1040207..645c957c 100644
--- a/i386/i386at/biosmem.c
+++ b/i386/i386at/biosmem.c
@@ -800,8 +800,6 @@ biosmem_directmap_end(void)
return biosmem_segment_end(VM_PAGE_SEG_DMA);
}
-#if DEBUG
-
static const char * __init
biosmem_type_desc(unsigned int type)
{
@@ -835,15 +833,13 @@ biosmem_map_show(void)
entry->base_addr + entry->length,
biosmem_type_desc(entry->type));
+#if DEBUG
printf("biosmem: heap: %llx:%llx\n",
(unsigned long long)biosmem_heap_start,
(unsigned long long)biosmem_heap_end);
+#endif
}
-#else /* DEBUG */
-#define biosmem_map_show()
-#endif /* DEBUG */
-
static void __init
biosmem_load_segment(struct biosmem_segment *seg, uint64_t max_phys_end)
{