summaryrefslogtreecommitdiffstats
path: root/sys/arm/xscale/ixp425
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2013-02-20 16:48:52 +0000
committeralc <alc@FreeBSD.org>2013-02-20 16:48:52 +0000
commitd04ffbb5a5cb5fa49847b87fbff94d4c6be4bfe9 (patch)
tree7fdd5af9f173b074b946c47d350812c31b461447 /sys/arm/xscale/ixp425
parente341f5a9677635311ada483476d10b467dc091d9 (diff)
downloadFreeBSD-src-d04ffbb5a5cb5fa49847b87fbff94d4c6be4bfe9.zip
FreeBSD-src-d04ffbb5a5cb5fa49847b87fbff94d4c6be4bfe9.tar.gz
Initialize vm_max_kernel_address on non-FDT platforms. (This should have
been included in r246926.) The second parameter to pmap_bootstrap() is redundant. Eliminate it. Reviewed by: andrew
Diffstat (limited to 'sys/arm/xscale/ixp425')
-rw-r--r--sys/arm/xscale/ixp425/avila_machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c
index dde3be7..82b0e02 100644
--- a/sys/arm/xscale/ixp425/avila_machdep.c
+++ b/sys/arm/xscale/ixp425/avila_machdep.c
@@ -432,7 +432,8 @@ initarm(struct arm_boot_params *abp)
pmap_curmaxkvaddr = afterkern + PAGE_SIZE;
arm_dump_avail_init(memsize, sizeof(dump_avail) / sizeof(dump_avail[0]));
- pmap_bootstrap(pmap_curmaxkvaddr, 0xd0000000, &kernel_l1pt);
+ vm_max_kernel_address = 0xd0000000;
+ pmap_bootstrap(pmap_curmaxkvaddr, &kernel_l1pt);
msgbufp = (void*)msgbufpv.pv_va;
msgbufinit(msgbufp, msgbufsize);
mutex_init();
OpenPOWER on IntegriCloud