aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Bonn2012-09-21 02:19:48 -0500
committerJonas Bonn2012-10-11 04:27:25 -0500
commit8eea8a6a9a2af067bd3006f7fefab66a4fb66451 (patch)
tree9af0f42161d13c4461bfb0e9d103f2f7a23a6a96 /arch/openrisc
parentf248ef1cd39dc9900cca5bf0a51b1e80081ecc67 (diff)
downloadam43-linux-kernel-8eea8a6a9a2af067bd3006f7fefab66a4fb66451.tar.gz
am43-linux-kernel-8eea8a6a9a2af067bd3006f7fefab66a4fb66451.tar.xz
am43-linux-kernel-8eea8a6a9a2af067bd3006f7fefab66a4fb66451.zip
openrisc: fix typos in comments and warnings
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'arch/openrisc')
-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}