Author: cwittich
Date: Sat Aug 4 19:52:17 2007
New Revision: 28158
URL:
http://svn.reactos.org/svn/reactos?rev=28158&view=rev
Log:
Fix scanning affinity in IoConnectInterrupt (patch by w3seek)
Modified:
trunk/reactos/ntoskrnl/io/iomgr/irq.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/irq.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/irq.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/irq.c (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/irq.c Sat Aug 4 19:52:17 2007
@@ -74,6 +74,7 @@
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 */