Fix scanning affinity in IoConnectInterrupt (patch by w3seek)
authorChristoph von Wittich <christoph_vw@reactos.org>
Sat, 4 Aug 2007 15:52:17 +0000 (15:52 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sat, 4 Aug 2007 15:52:17 +0000 (15:52 +0000)
svn path=/trunk/; revision=28158

reactos/ntoskrnl/io/iomgr/irq.c

index aaf0880..7af72f6 100644 (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 */