diff options
author | gonzo <gonzo@FreeBSD.org> | 2010-12-09 07:47:40 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2010-12-09 07:47:40 +0000 |
commit | f62cda71542930a365fdb33253b1349da40fcec6 (patch) | |
tree | c83046399a20892260c3ab41e2aea34fa0c51434 /sys/mips/sibyte | |
parent | bfd4abe2ac41a7f0176aeb6a6142a41a6384884a (diff) | |
download | FreeBSD-src-f62cda71542930a365fdb33253b1349da40fcec6.zip FreeBSD-src-f62cda71542930a365fdb33253b1349da40fcec6.tar.gz |
- dump_avail layout should be sequence of [start, end)
pairs, not <start, size>.
Spotted by: alc@
Diffstat (limited to 'sys/mips/sibyte')
-rw-r--r-- | sys/mips/sibyte/sb_machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/mips/sibyte/sb_machdep.c b/sys/mips/sibyte/sb_machdep.c index edf5009..ac30451 100644 --- a/sys/mips/sibyte/sb_machdep.c +++ b/sys/mips/sibyte/sb_machdep.c @@ -225,10 +225,8 @@ mips_init(void) realmem = btoc(physmem); #endif - for (j = 0; j < i; j += 2) { + for (j = 0; j < i; j++) dump_avail[j] = phys_avail[j]; - dump_avail[j+1] = phys_avail[j+1] - phys_avail[j]; - } physmem = realmem; |