https://git.reactos.org/?p=reactos.git;a=commitdiff;h=69cd1e107a1e70afdc7c0585c27105d60efeac26

commit 69cd1e107a1e70afdc7c0585c27105d60efeac26
Author:     Hervé Poussineau <hpous...@reactos.org>
AuthorDate: Fri Aug 16 08:51:06 2024 +0200
Commit:     Hermès Bélusca-Maïto <hermes.belusca-ma...@reactos.org>
CommitDate: Tue Jan 28 22:00:30 2025 +0100

    [NTOS:EX] Allow calling ExLockUserBuffer up to DISPATCH_LEVEL
---
 ntoskrnl/ex/sysinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/ex/sysinfo.c b/ntoskrnl/ex/sysinfo.c
index e7e67cd85b9..75e3dd452fd 100644
--- a/ntoskrnl/ex/sysinfo.c
+++ b/ntoskrnl/ex/sysinfo.c
@@ -208,7 +208,7 @@ ExLockUserBuffer(
     PMDL *OutMdl)
 {
     PMDL Mdl;
-    PAGED_CODE();
+    ASSERT(KeGetCurrentIrql() <= DISPATCH_LEVEL);
 
     *MappedSystemVa = NULL;
     *OutMdl = NULL;

Reply via email to