diff options
Diffstat (limited to 'kernel/irq/handle.c')
-rw-r--r-- | kernel/irq/handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/handle.c b/kernel/irq/handle.c index 470d08c82bbe..500aaf67c546 100644 --- a/kernel/irq/handle.c +++ b/kernel/irq/handle.c | |||
@@ -60,7 +60,7 @@ static void irq_wake_thread(struct irq_desc *desc, struct irqaction *action) | |||
60 | * device interrupt, so no irq storm is lurking. If the | 60 | * device interrupt, so no irq storm is lurking. If the |
61 | * RUNTHREAD bit is already set, nothing to do. | 61 | * RUNTHREAD bit is already set, nothing to do. |
62 | */ | 62 | */ |
63 | if (test_bit(IRQTF_DIED, &action->thread_flags) || | 63 | if ((action->thread->flags & PF_EXITING) || |
64 | test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) | 64 | test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) |
65 | return; | 65 | return; |
66 | 66 | ||