From 9eb4e0b42d7cf490254ccd2d725f2b0f6c396831 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 2 Feb 2024 15:32:07 -0800 Subject: [PATCH] x86 mem: Pass standard bool value to pmap_demote_DMAP --- sys/x86/x86/x86_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/x86/x86_mem.c b/sys/x86/x86/x86_mem.c index c6d1b7a4f126..d350ca22e257 100644 --- a/sys/x86/x86/x86_mem.c +++ b/sys/x86/x86/x86_mem.c @@ -183,7 +183,7 @@ x86_mr_split_dmap(struct mem_range_softc *sc __unused) mrd = sc->mr_desc + i; for (; i < sc->mr_ndesc; i++, mrd++) { 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 }