summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c
index 27ff426..b0f4ed1 100644
--- a/sys/arm/arm/pmap.c
+++ b/sys/arm/arm/pmap.c
@@ -1733,7 +1733,7 @@ pmap_enter_pv(struct vm_page *pg, struct pv_entry *pve, pmap_t pm,
pg->md.krw_mappings++;
else
pg->md.kro_mappings++;
- }
+ } else
if (flags & PVF_WRITE)
pg->md.urw_mappings++;
else
OpenPOWER on IntegriCloud