https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c9f335e996b3aa0b0be39…
commit c9f335e996b3aa0b0be395abe33af535222b88c0
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Sep 5 02:47:43 2021 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Sep 12 18:16:13 2021 +0200
[NTOS:KD64] KdPollBreakIn(): Use the KeRestoreInterrupts() inline.
---
ntoskrnl/kd64/kdlock.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ntoskrnl/kd64/kdlock.c b/ntoskrnl/kd64/kdlock.c
index 6b1512fa91b..74c671acca3 100644
--- a/ntoskrnl/kd64/kdlock.c
+++ b/ntoskrnl/kd64/kdlock.c
@@ -115,8 +115,8 @@ KdPollBreakIn(VOID)
KeLowerIrql(OldIrql);
}
- /* Re-enable interrupts if they were enabled previously */
- if (Enable) _enable();
+ /* Re-enable interrupts */
+ KeRestoreInterrupts(Enable);
}
/* Tell the caller to do a break */