- 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.
Showing the changes to kernel (1 of 4 files). Show all
Unified · Split
| @@ -246,8 +246,10 @@ int setup_irq(unsigned int irq, struct irqaction * new) · 245 unmodified lines | |||
| 246 | 246 | ||
| 247 | mismatch: | 247 | mismatch: |
| 248 | spin_unlock_irqrestore(&desc->lock, flags); | 248 | spin_unlock_irqrestore(&desc->lock, flags); |
| 249 | printk(KERN_ERR "%s: irq handler mismatch\n", __FUNCTION__); | 249 | if (!(new->flags & SA_PROBEIRQ)) { |
| 250 | dump_stack(); | 250 | printk(KERN_ERR "%s: irq handler mismatch\n", __FUNCTION__); |
| 251 | dump_stack(); | ||
| 252 | } | ||
| 251 | return -EBUSY; | 253 | return -EBUSY; |
| 252 | } | 254 | } |
| 253 | 255 | ||