Commit a9417c6c authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: free host resources associated with freed IRQs

This adds a free_irq_by_irq_and_dev call which was accidentally removed when
the UML free_irq was replaced by generic code.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 679345da
......@@ -83,8 +83,11 @@ void sigio_handler(int sig, union uml_pt_regs *regs)
* can be freed here.
*/
next = irq_fd->next;
if(irq_fd->freed)
if(irq_fd->freed){
free_irq(irq_fd->irq, irq_fd->id);
free_irq_by_irq_and_dev(irq_fd->irq,
irq_fd->id);
}
}
}
}
......
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