From b08cb8c26532683acb64ce6fd164792f9b9d1dc5 Mon Sep 17 00:00:00 2001 From: adrian Date: Sun, 21 May 2017 23:55:58 +0000 Subject: [PATCH] [ar71xx] fix up dump space a la what jhb@ did elsewhere a while ago. --- sys/mips/atheros/ar71xx_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/mips/atheros/ar71xx_machdep.c b/sys/mips/atheros/ar71xx_machdep.c index 58218da76b3c..061245a4e54e 100644 --- a/sys/mips/atheros/ar71xx_machdep.c +++ b/sys/mips/atheros/ar71xx_machdep.c @@ -383,8 +383,8 @@ platform_start(__register_t a0 __unused, __register_t a1 __unused, phys_avail[0] = MIPS_KSEG0_TO_PHYS(kernel_kseg0_end); phys_avail[1] = ctob(realmem); - dump_avail[0] = phys_avail[0]; - dump_avail[1] = phys_avail[1] - phys_avail[0]; + dump_avail[0] = 0; + dump_avail[1] = phys_avail[1]; physmem = realmem;