mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
Fix scanning affinity in IoConnectInterrupt (patch by w3seek)
svn path=/trunk/; revision=28158
This commit is contained in:
parent
21876ed8a8
commit
c1152ad29c
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ IoConnectInterrupt(OUT PKINTERRUPT *InterruptObject,
|
||||||
RtlZeroMemory(IoInterrupt, sizeof(IO_INTERRUPT));
|
RtlZeroMemory(IoInterrupt, sizeof(IO_INTERRUPT));
|
||||||
|
|
||||||
/* Now create all the interrupts */
|
/* Now create all the interrupts */
|
||||||
|
Affinity = ProcessorEnableMask & KeActiveProcessors;
|
||||||
for (Count = 0; Affinity; Count++, Affinity >>= 1)
|
for (Count = 0; Affinity; Count++, Affinity >>= 1)
|
||||||
{
|
{
|
||||||
/* Check if it's enabled for this CPU */
|
/* Check if it's enabled for this CPU */
|
||||||
|
|
Loading…
Reference in a new issue