Skip to content

Commit fe655d3

Browse files
Shaohua LiLinus Torvalds
authored andcommitted
[PATCH] setting irq affinity is broken in ia32 with MSI enabled
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent b0b623c commit fe655d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/i386/kernel/io_apic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ static void ack_edge_ioapic_vector(unsigned int vector)
20092009
{
20102010
int irq = vector_to_irq(vector);
20112011

2012-
move_irq(vector);
2012+
move_native_irq(vector);
20132013
ack_edge_ioapic_irq(irq);
20142014
}
20152015

@@ -2024,7 +2024,7 @@ static void end_level_ioapic_vector (unsigned int vector)
20242024
{
20252025
int irq = vector_to_irq(vector);
20262026

2027-
move_irq(vector);
2027+
move_native_irq(vector);
20282028
end_level_ioapic_irq(irq);
20292029
}
20302030

0 commit comments

Comments
 (0)