x86 mem: Pass standard bool value to pmap_demote_DMAP

This commit is contained in:
John Baldwin 2024-02-02 15:32:07 -08:00
parent 1027e838a8
commit 9eb4e0b42d

View File

@ -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
} }