aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2006-07-25 23:07:35 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2006-07-25 23:07:35 +0000
commitf9ad2af361ace6099abaa3f27d55536271cf9863 (patch)
treefa03e168aeb5d1d36336462e43ab36675fa992f2 /sys/arm
parent42e4359156778c5392a805e59e80dc139c81f48d (diff)
Notes
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/at91/kb920x_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/at91/kb920x_machdep.c b/sys/arm/at91/kb920x_machdep.c
index 8c50121591f0..5617635ed9e5 100644
--- a/sys/arm/at91/kb920x_machdep.c
+++ b/sys/arm/at91/kb920x_machdep.c
@@ -478,7 +478,7 @@ initarm(void *arg, void *arg2)
dump_avail[2] = 0;
dump_avail[3] = 0;
- phys_avail[0] = freemempos - KERNVIRTADDR + KERNPHYSADDR;
+ phys_avail[0] = virtual_avail - KERNVIRTADDR + KERNPHYSADDR;
phys_avail[1] = KERNPHYSADDR + memsize;
phys_avail[2] = 0;
phys_avail[3] = 0;