[PATCH] request_irq(): remove warnings from irq probing
- Add new SA_PROBEIRQ which suppresses the new sharing-mismatch warning. Some drivers like to use request_irq() to find an unused interrupt slot. - Use it in i82365.c - Kill unused SA_PROBE. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
47bb789973
commit
13e87ec686
@@ -246,8 +246,10 @@ int setup_irq(unsigned int irq, struct irqaction * new)
|
||||
|
||||
mismatch:
|
||||
spin_unlock_irqrestore(&desc->lock, flags);
|
||||
printk(KERN_ERR "%s: irq handler mismatch\n", __FUNCTION__);
|
||||
dump_stack();
|
||||
if (!(new->flags & SA_PROBEIRQ)) {
|
||||
printk(KERN_ERR "%s: irq handler mismatch\n", __FUNCTION__);
|
||||
dump_stack();
|
||||
}
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user