diff options
Diffstat (limited to 'kernel/irq/manage.c')
| -rw-r--r-- | kernel/irq/manage.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index c911c6ec4dd6..4e461438e48b 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
| @@ -410,6 +410,12 @@ int request_irq(unsigned int irq, | |||
| 410 | struct irqaction *action; | 410 | struct irqaction *action; |
| 411 | int retval; | 411 | int retval; |
| 412 | 412 | ||
| 413 | #ifdef CONFIG_LOCKDEP | ||
| 414 | /* | ||
| 415 | * Lockdep wants atomic interrupt handlers: | ||
| 416 | */ | ||
| 417 | irqflags |= SA_INTERRUPT; | ||
| 418 | #endif | ||
| 413 | /* | 419 | /* |
| 414 | * Sanity-check: shared interrupts must pass in a real dev-ID, | 420 | * Sanity-check: shared interrupts must pass in a real dev-ID, |
| 415 | * otherwise we'll have trouble later trying to figure out | 421 | * otherwise we'll have trouble later trying to figure out |
