Skip to content

Commit

Permalink
[PATCH] setting irq affinity is broken in ia32 with MSI enabled
Browse files Browse the repository at this point in the history
Setting irq affinity stops working when MSI is enabled.  With MSI, move_irq
is empty, so we can't change irq affinity.  It appears a typo in Ashok's
original commit for this issue.  X86_64 actually is using move_native_irq.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Shaohua Li authored and Linus Torvalds committed Nov 30, 2005
1 parent b0b623c commit fe655d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/i386/kernel/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2009,7 +2009,7 @@ static void ack_edge_ioapic_vector(unsigned int vector)
{
int irq = vector_to_irq(vector);

move_irq(vector);
move_native_irq(vector);
ack_edge_ioapic_irq(irq);
}

Expand All @@ -2024,7 +2024,7 @@ static void end_level_ioapic_vector (unsigned int vector)
{
int irq = vector_to_irq(vector);

move_irq(vector);
move_native_irq(vector);
end_level_ioapic_irq(irq);
}

Expand Down

0 comments on commit fe655d3

Please sign in to comment.