Commit c8925297 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] IP27: Fix build error.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 07f6169c
...@@ -131,7 +131,7 @@ static struct irq_chip rt_irq_type = { ...@@ -131,7 +131,7 @@ static struct irq_chip rt_irq_type = {
static int rt_next_event(unsigned long delta, struct clock_event_device *evt) static int rt_next_event(unsigned long delta, struct clock_event_device *evt)
{ {
unsigned int cpu = smp_processor_id(); unsigned int cpu = smp_processor_id();
int slice putoslice(cpu); int slice = cputoslice(cpu);
unsigned long cnt; unsigned long cnt;
cnt = LOCAL_HUB_L(PI_RT_COUNT); cnt = LOCAL_HUB_L(PI_RT_COUNT);
...@@ -169,7 +169,7 @@ static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id) ...@@ -169,7 +169,7 @@ static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id)
/* /*
* Ack * Ack
*/ */
LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, cnt); LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, 0);
cd->event_handler(cd); cd->event_handler(cd);
return IRQ_HANDLED; return IRQ_HANDLED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment