mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 00:33:30 +00:00
x86 mem: Pass standard bool value to pmap_demote_DMAP
This commit is contained in:
parent
1027e838a8
commit
9eb4e0b42d
@ -183,7 +183,7 @@ x86_mr_split_dmap(struct mem_range_softc *sc __unused)
|
|||||||
mrd = sc->mr_desc + i;
|
mrd = sc->mr_desc + i;
|
||||||
for (; i < sc->mr_ndesc; i++, mrd++) {
|
for (; i < sc->mr_ndesc; i++, mrd++) {
|
||||||
if ((mrd->mr_flags & (MDF_ACTIVE | MDF_BOGUS)) == MDF_ACTIVE)
|
if ((mrd->mr_flags & (MDF_ACTIVE | MDF_BOGUS)) == MDF_ACTIVE)
|
||||||
pmap_demote_DMAP(mrd->mr_base, mrd->mr_len, TRUE);
|
pmap_demote_DMAP(mrd->mr_base, mrd->mr_len, true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user