[ar71xx] fix up dump space a la what jhb@ did elsewhere a while ago.

This commit is contained in:
Adrian Chadd 2017-05-21 23:55:58 +00:00
parent 66ed774149
commit 9f329febcb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318602

View File

@ -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;