Fix scanning affinity in IoConnectInterrupt (patch by w3seek)

svn path=/trunk/; revision=28158
This commit is contained in:
Christoph von Wittich 2007-08-04 15:52:17 +00:00
parent 21876ed8a8
commit c1152ad29c

View file

@ -74,6 +74,7 @@ IoConnectInterrupt(OUT PKINTERRUPT *InterruptObject,
RtlZeroMemory(IoInterrupt, sizeof(IO_INTERRUPT));
/* Now create all the interrupts */
Affinity = ProcessorEnableMask & KeActiveProcessors;
for (Count = 0; Affinity; Count++, Affinity >>= 1)
{
/* Check if it's enabled for this CPU */