summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2008-01-17 12:41:59 +0000
committercognet <cognet@FreeBSD.org>2008-01-17 12:41:59 +0000
commit961a1f29ef8a0e9a69bfe822b795ef304ef9f1ad (patch)
tree132c28b481f0e3a120c78860d76baff5f5a7d9a3 /sys/arm
parent2ba124325fd0c05c3e30f51c66da436296b25e15 (diff)
downloadFreeBSD-src-961a1f29ef8a0e9a69bfe822b795ef304ef9f1ad.zip
FreeBSD-src-961a1f29ef8a0e9a69bfe822b795ef304ef9f1ad.tar.gz
Unbreak build by adding the missing parameter to pmap_enter().
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/pmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index 5ad1c83..2c6bd7b 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -3828,7 +3828,8 @@ pmap_pinit(pmap_t pmap)
bzero(&pmap->pm_stats, sizeof pmap->pm_stats);
pmap->pm_stats.resident_count = 1;
if (vector_page < KERNBASE) {
- pmap_enter(pmap, vector_page, PHYS_TO_VM_PAGE(systempage.pv_pa),
+ pmap_enter(pmap, vector_page,
+ VM_PROT_READ, PHYS_TO_VM_PAGE(systempage.pv_pa),
VM_PROT_READ, 1);
}
return (1);
OpenPOWER on IntegriCloud