diff --git a/ntoskrnl/ke/amd64/stubs.c b/ntoskrnl/ke/amd64/stubs.c index 43117fe6868..ff973935d69 100644 --- a/ntoskrnl/ke/amd64/stubs.c +++ b/ntoskrnl/ke/amd64/stubs.c @@ -71,9 +71,9 @@ KiDpcInterruptHandler(VOID) KiSwapContext(APC_LEVEL, OldThread); } - /* Go back to old irql and disable interrupts */ - KeLowerIrql(OldIrql); + /* Disable interrupts and go back to old irql */ _disable(); + KeLowerIrql(OldIrql); }