From 9e753c174f41d490e9ab77b62f1c04a6b868f5f8 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Thu, 25 Oct 2007 22:43:17 +0000 Subject: [PATCH] Oooops, get the end of the memory right. --- sys/arm/at91/kb920x_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm/at91/kb920x_machdep.c b/sys/arm/at91/kb920x_machdep.c index 72b686e0536b..2647e61a169f 100644 --- a/sys/arm/at91/kb920x_machdep.c +++ b/sys/arm/at91/kb920x_machdep.c @@ -483,7 +483,7 @@ initarm(void *arg, void *arg2) phys_avail[i++] = KERNPHYSADDR; #endif phys_avail[i++] = virtual_avail - KERNVIRTADDR + KERNPHYSADDR; - phys_avail[i++] = KERNPHYSADDR + memsize; + phys_avail[i++] = PHYSADDR + memsize; phys_avail[i++] = 0; phys_avail[i++] = 0; /* Do basic tuning, hz etc */