diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/migration.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/irq/migration.c b/kernel/irq/migration.c index 4baa3bbcd25a..77b7acc875c5 100644 --- a/kernel/irq/migration.c +++ b/kernel/irq/migration.c | |||
@@ -65,12 +65,11 @@ void move_native_irq(int irq) | |||
65 | if (likely(!(desc->status & IRQ_MOVE_PENDING))) | 65 | if (likely(!(desc->status & IRQ_MOVE_PENDING))) |
66 | return; | 66 | return; |
67 | 67 | ||
68 | if (likely(!(desc->status & IRQ_DISABLED))) | 68 | if (unlikely(desc->status & IRQ_DISABLED)) |
69 | desc->chip->disable(irq); | 69 | return; |
70 | 70 | ||
71 | desc->chip->mask(irq); | ||
71 | move_masked_irq(irq); | 72 | move_masked_irq(irq); |
72 | 73 | desc->chip->unmask(irq); | |
73 | if (likely(!(desc->status & IRQ_DISABLED))) | ||
74 | desc->chip->enable(irq); | ||
75 | } | 74 | } |
76 | 75 | ||