aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/kernel')
-rw-r--r--arch/openrisc/kernel/irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/openrisc/kernel/irq.c b/arch/openrisc/kernel/irq.c
index 094c394eee5..61327985f96 100644
--- a/arch/openrisc/kernel/irq.c
+++ b/arch/openrisc/kernel/irq.c
@@ -58,7 +58,7 @@ static void or1k_pic_ack(struct irq_data *data)
58{ 58{
59 /* EDGE-triggered interrupts need to be ack'ed in order to clear 59 /* EDGE-triggered interrupts need to be ack'ed in order to clear
60 * the latch. 60 * the latch.
61 * LEVER-triggered interrupts do not need to be ack'ed; however, 61 * LEVEL-triggered interrupts do not need to be ack'ed; however,
62 * ack'ing the interrupt has no ill-effect and is quicker than 62 * ack'ing the interrupt has no ill-effect and is quicker than
63 * trying to figure out what type it is... 63 * trying to figure out what type it is...
64 */ 64 */
@@ -77,7 +77,7 @@ static void or1k_pic_ack(struct irq_data *data)
77 77
78 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); 78 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
79#else 79#else
80 WARN(1, "Interrupt handling possibily broken\n"); 80 WARN(1, "Interrupt handling possibly broken\n");
81 mtspr(SPR_PICSR, (1UL << data->hwirq)); 81 mtspr(SPR_PICSR, (1UL << data->hwirq));
82#endif 82#endif
83} 83}
@@ -89,7 +89,7 @@ static void or1k_pic_mask_ack(struct irq_data *data)
89#ifdef CONFIG_OR1K_1200 89#ifdef CONFIG_OR1K_1200
90 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq)); 90 mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
91#else 91#else
92 WARN(1, "Interrupt handling possibily broken\n"); 92 WARN(1, "Interrupt handling possibly broken\n");
93 mtspr(SPR_PICSR, (1UL << data->hwirq)); 93 mtspr(SPR_PICSR, (1UL << data->hwirq));
94#endif 94#endif
95} 95}