git: 07593d13fa2a - main - efirt: Fix the TDP_EFIRT assertion
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Nov 2024 14:20:29 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=07593d13fa2ad6fe4d962b7473c6020aef2a0414 commit 07593d13fa2ad6fe4d962b7473c6020aef2a0414 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-11-22 14:19:37 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-11-22 14:19:37 +0000 efirt: Fix the TDP_EFIRT assertion Fixes: a03957a706a0 ("efirt: mark dynamic region executing the RT code with the TDP_EFIRT flag") --- 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 37b46ec38dad..8cada0d5061b 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_pflags & TDP_EFIRT) == 0); + MPASS((td->td_pflags & TDP_EFIRT) != 0); td->td_pflags &= ~TDP_EFIRT; efi_arch_leave();