git: 9eb4e0b42d7c - main - x86 mem: Pass standard bool value to pmap_demote_DMAP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Feb 2024 23:32:56 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9eb4e0b42d7cf490254ccd2d725f2b0f6c396831 commit 9eb4e0b42d7cf490254ccd2d725f2b0f6c396831 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2024-02-02 23:32:07 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2024-02-02 23:32:44 +0000 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 }