Fix bug in interrupt code

svn path=/trunk/; revision=16245
This commit is contained in:
Alex Ionescu 2005-06-23 15:29:20 +00:00
parent 236ce44dac
commit 96507ffe7c

View file

@ -95,7 +95,7 @@ IoConnectInterrupt(PKINTERRUPT* InterruptObject,
(count - 1)* sizeof(KINTERRUPT) +
sizeof(IO_INTERRUPT),
TAG_KINTERRUPT);
if (!Interrupt) return(STATUS_INSUFFICIENT_RESOURCES);
if (!IoInterrupt) return(STATUS_INSUFFICIENT_RESOURCES);
/* Select which Spinlock to use */
if (SpinLock)