diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2003-02-16 17:30:49 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2003-02-16 17:30:49 +0000 |
| commit | cb259970c30d888d59a0f5241eefb88140356339 (patch) | |
| tree | 46026e4029d6664712db77415e01d88dc9bd15aa /sys/alpha | |
| parent | e0554a531f17f56167f978eddf29a09cc6ae9f32 (diff) | |
Notes
Diffstat (limited to 'sys/alpha')
| -rw-r--r-- | sys/alpha/alpha/machdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index ddf67d7016ff..2ce041b682eb 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -827,6 +827,7 @@ alpha_init(pfn, ptb, bim, bip, biv) if (physmem - sz > Maxmem) { phys_avail[i] = 0; phys_avail_cnt -= 2; + physmem -= sz; } else { nsz = sz - (physmem - Maxmem); phys_avail[i+1] = phys_avail[i] + alpha_ptob(nsz); |
