Date: Thu, 28 Nov 2024 13:30:11 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1c65ea28841a - stable/14 - efirt: Fix the TDP_EFIRT assertion Message-ID: <202411281330.4ASDUBKl010963@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1c65ea28841ae709f199680296004d6b81bfa375 commit 1c65ea28841ae709f199680296004d6b81bfa375 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-11-22 14:19:37 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-11-28 12:53:17 +0000 efirt: Fix the TDP_EFIRT assertion (cherry picked from commit 07593d13fa2ad6fe4d962b7473c6020aef2a0414) --- sys/dev/efidev/efirt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/efidev/efirt.c b/sys/dev/efidev/efirt.c index 92ffeae12734..a74ce9fa9a06 100644 --- a/sys/dev/efidev/efirt.c +++ b/sys/dev/efidev/efirt.c @@ -323,7 +323,7 @@ efi_leave(void) pmap_t curpmap; td = curthread; - MPASS((td->td_pflags2 & TDP2_EFIRT) == 0); + MPASS((td->td_pflags2 & TDP2_EFIRT) != 0); td->td_pflags2 &= ~TDP2_EFIRT; efi_arch_leave();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411281330.4ASDUBKl010963>