From b358d3906ad888e1f1f76994e381b2002b8b3552 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 7 Dec 2007 10:42:11 +0000 Subject: [PATCH] Fix style in previous commit. Pointed out by: njl --- sys/arm/arm/pmap.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index b0f4ed19bd35..cf0cdbbb80e0 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -1733,11 +1733,12 @@ 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 - pg->md.uro_mappings++; + } else { + if (flags & PVF_WRITE) + pg->md.urw_mappings++; + else + pg->md.uro_mappings++; + } pg->md.pv_list_count++; if (pve->pv_flags & PVF_WIRED) ++pm->pm_stats.wired_count;