mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 11:36:46 +00:00
[NTOS:IO] IoDisconnectInterrupt(): Fix disconnecting other interrupts (#6503)
Addendum to commit d1258e99f
(r16229).
This commit is contained in:
parent
603fd832d0
commit
cbc78e0629
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||||
{
|
{
|
||||||
LONG i;
|
|
||||||
PIO_INTERRUPT IoInterrupt;
|
PIO_INTERRUPT IoInterrupt;
|
||||||
|
ULONG i;
|
||||||
|
|
||||||
PAGED_CODE();
|
PAGED_CODE();
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ IoDisconnectInterrupt(PKINTERRUPT InterruptObject)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Disconnect it */
|
/* Disconnect it */
|
||||||
KeDisconnectInterrupt(&InterruptObject[i]);
|
KeDisconnectInterrupt(IoInterrupt->Interrupt[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Free the I/O Interrupt */
|
/* Free the I/O Interrupt */
|
||||||
|
|
Loading…
Reference in a new issue