svn commit: r308570 - head/sys/arm/arm
Svatopluk Kraus
skra at FreeBSD.org
Sat Nov 12 17:24:42 UTC 2016
Author: skra
Date: Sat Nov 12 17:24:41 2016
New Revision: 308570
URL: https://svnweb.freebsd.org/changeset/base/308570
Log:
The return type of is_managed() was changed from boolean_t to bool type
in r308569. Now, propagate this change further for consistency sake.
MFC after: 2 weeks
Modified:
head/sys/arm/arm/pmap-v6.c
Modified: head/sys/arm/arm/pmap-v6.c
==============================================================================
--- head/sys/arm/arm/pmap-v6.c Sat Nov 12 17:03:21 2016 (r308569)
+++ head/sys/arm/arm/pmap-v6.c Sat Nov 12 17:24:41 2016 (r308570)
@@ -2750,14 +2750,14 @@ is_managed(vm_paddr_t pa)
return ((m->oflags & VPO_UNMANAGED) == 0);
}
-static __inline boolean_t
+static __inline bool
pte1_is_managed(pt1_entry_t pte1)
{
return (is_managed(pte1_pa(pte1)));
}
-static __inline boolean_t
+static __inline bool
pte2_is_managed(pt2_entry_t pte2)
{
@@ -6097,7 +6097,7 @@ pmap_mincore(pmap_t pmap, vm_offset_t ad
pt1_entry_t *pte1p, pte1;
pt2_entry_t *pte2p, pte2;
vm_paddr_t pa;
- boolean_t managed;
+ bool managed;
int val;
PMAP_LOCK(pmap);
@@ -6124,7 +6124,7 @@ retry:
if (pte2 & PTE2_A)
val |= MINCORE_REFERENCED | MINCORE_REFERENCED_OTHER;
} else {
- managed = FALSE;
+ managed = false;
val = 0;
}
if ((val & (MINCORE_MODIFIED_OTHER | MINCORE_REFERENCED_OTHER)) !=
More information about the svn-src-all
mailing list