summaryrefslogtreecommitdiff
path: root/sys/arm/xscale/ixp425
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2015-12-21 01:14:54 +0000
committerIan Lepore <ian@FreeBSD.org>2015-12-21 01:14:54 +0000
commit38b65fa05cbc1fcd59be353bb15174c9dba2628f (patch)
treedd8d9d0d4e05374fe942d1d85aa7859a5c7124e0 /sys/arm/xscale/ixp425
parentbfb14e93a2ec262457a3c238efa1ff806de84dbe (diff)
downloadsrc-test2-38b65fa05cbc1fcd59be353bb15174c9dba2628f.tar.gz
src-test2-38b65fa05cbc1fcd59be353bb15174c9dba2628f.zip
Notes
Diffstat (limited to 'sys/arm/xscale/ixp425')
-rw-r--r--sys/arm/xscale/ixp425/avila_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/xscale/ixp425/avila_machdep.c b/sys/arm/xscale/ixp425/avila_machdep.c
index 0d5d9bbaf5ee..e48fbb647243 100644
--- a/sys/arm/xscale/ixp425/avila_machdep.c
+++ b/sys/arm/xscale/ixp425/avila_machdep.c
@@ -415,9 +415,9 @@ initarm(struct arm_boot_params *abp)
* Prepare the list of physical memory available to the vm subsystem.
*/
arm_physmem_hardware_region(PHYSADDR, memsize);
- arm_physmem_exclude_region(freemem_pt, KERNPHYSADDR -
+ arm_physmem_exclude_region(freemem_pt, abp->abp_physaddr -
freemem_pt, EXFLAG_NOALLOC);
- arm_physmem_exclude_region(freemempos, KERNPHYSADDR - 0x100000 -
+ arm_physmem_exclude_region(freemempos, abp->abp_physaddr - 0x100000 -
freemempos, EXFLAG_NOALLOC);
arm_physmem_exclude_region(abp->abp_physaddr,
virtual_avail - KERNVIRTADDR, EXFLAG_NOALLOC);