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 */