openrisc: fix typos in comments and warnings
Signed-off-by: Jonas Bonn <jonas@southpole.se>
This commit is contained in:
parent
f248ef1cd3
commit
8eea8a6a9a
|
@ -58,7 +58,7 @@ static void or1k_pic_ack(struct irq_data *data)
|
||||||
{
|
{
|
||||||
/* EDGE-triggered interrupts need to be ack'ed in order to clear
|
/* EDGE-triggered interrupts need to be ack'ed in order to clear
|
||||||
* the latch.
|
* the latch.
|
||||||
* LEVER-triggered interrupts do not need to be ack'ed; however,
|
* LEVEL-triggered interrupts do not need to be ack'ed; however,
|
||||||
* ack'ing the interrupt has no ill-effect and is quicker than
|
* ack'ing the interrupt has no ill-effect and is quicker than
|
||||||
* trying to figure out what type it is...
|
* trying to figure out what type it is...
|
||||||
*/
|
*/
|
||||||
|
@ -77,7 +77,7 @@ static void or1k_pic_ack(struct irq_data *data)
|
||||||
|
|
||||||
mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
|
mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
|
||||||
#else
|
#else
|
||||||
WARN(1, "Interrupt handling possibily broken\n");
|
WARN(1, "Interrupt handling possibly broken\n");
|
||||||
mtspr(SPR_PICSR, (1UL << data->hwirq));
|
mtspr(SPR_PICSR, (1UL << data->hwirq));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ static void or1k_pic_mask_ack(struct irq_data *data)
|
||||||
#ifdef CONFIG_OR1K_1200
|
#ifdef CONFIG_OR1K_1200
|
||||||
mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
|
mtspr(SPR_PICSR, mfspr(SPR_PICSR) & ~(1UL << data->hwirq));
|
||||||
#else
|
#else
|
||||||
WARN(1, "Interrupt handling possibily broken\n");
|
WARN(1, "Interrupt handling possibly broken\n");
|
||||||
mtspr(SPR_PICSR, (1UL << data->hwirq));
|
mtspr(SPR_PICSR, (1UL << data->hwirq));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue