aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r--arch/microblaze/kernel/intc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c
index 6c54d4dcdec3..7b4c6444bc16 100644
--- a/arch/microblaze/kernel/intc.c
+++ b/arch/microblaze/kernel/intc.c
@@ -44,7 +44,6 @@ static void intc_enable_or_unmask(struct irq_data *d)
44 unsigned long mask = 1 << d->hwirq; 44 unsigned long mask = 1 << d->hwirq;
45 45
46 pr_debug("enable_or_unmask: %ld\n", d->hwirq); 46 pr_debug("enable_or_unmask: %ld\n", d->hwirq);
47 out_be32(INTC_BASE + SIE, mask);
48 47
49 /* ack level irqs because they can't be acked during 48 /* ack level irqs because they can't be acked during
50 * ack function since the handle_level_irq function 49 * ack function since the handle_level_irq function
@@ -52,6 +51,8 @@ static void intc_enable_or_unmask(struct irq_data *d)
52 */ 51 */
53 if (irqd_is_level_type(d)) 52 if (irqd_is_level_type(d))
54 out_be32(INTC_BASE + IAR, mask); 53 out_be32(INTC_BASE + IAR, mask);
54
55 out_be32(INTC_BASE + SIE, mask);
55} 56}
56 57
57static void intc_disable_or_mask(struct irq_data *d) 58static void intc_disable_or_mask(struct irq_data *d)