mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
[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 <shaohua.li@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
b0b623c3b2
commit
fe655d3a06
@ -2009,7 +2009,7 @@ static void ack_edge_ioapic_vector(unsigned int vector)
|
|||||||
{
|
{
|
||||||
int irq = vector_to_irq(vector);
|
int irq = vector_to_irq(vector);
|
||||||
|
|
||||||
move_irq(vector);
|
move_native_irq(vector);
|
||||||
ack_edge_ioapic_irq(irq);
|
ack_edge_ioapic_irq(irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2024,7 +2024,7 @@ static void end_level_ioapic_vector (unsigned int vector)
|
|||||||
{
|
{
|
||||||
int irq = vector_to_irq(vector);
|
int irq = vector_to_irq(vector);
|
||||||
|
|
||||||
move_irq(vector);
|
move_native_irq(vector);
|
||||||
end_level_ioapic_irq(irq);
|
end_level_ioapic_irq(irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user