Commit ef933cd3 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: disable_irq fix from x86

parent 7bd4054f
...@@ -268,7 +268,9 @@ void free_irq(unsigned int irq, void *dev_id) ...@@ -268,7 +268,9 @@ void free_irq(unsigned int irq, void *dev_id)
void disable_irq(unsigned int irq) void disable_irq(unsigned int irq)
{ {
irq_desc_t *desc = irq_desc + irq;
disable_irq_nosync(irq); disable_irq_nosync(irq);
if (desc->action)
synchronize_irq(irq); synchronize_irq(irq);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment