diff options
| -rw-r--r-- | kernel/irq/manage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 203a518b6f14..853aefbd184b 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c | |||
| @@ -462,7 +462,9 @@ void free_irq(unsigned int irq, void *dev_id) | |||
| 462 | * We do this after actually deregistering it, to make sure that | 462 | * We do this after actually deregistering it, to make sure that |
| 463 | * a 'real' IRQ doesn't run in parallel with our fake | 463 | * a 'real' IRQ doesn't run in parallel with our fake |
| 464 | */ | 464 | */ |
| 465 | local_irq_save(flags); | ||
| 465 | handler(irq, dev_id); | 466 | handler(irq, dev_id); |
| 467 | local_irq_restore(flags); | ||
| 466 | } | 468 | } |
| 467 | #endif | 469 | #endif |
| 468 | } | 470 | } |
