[NTOS:KD64] KdPollBreakIn(): Use the KeRestoreInterrupts() inline.

This commit is contained in:
Hermès Bélusca-Maïto 2021-09-05 02:47:43 +02:00
parent 103a79ce4f
commit c9f335e996
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

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