aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/sibyte/sb1250/time.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-31 12:42:56 +0000
committerRalf Baechle <ralf@linux-mips.org>2007-11-02 16:13:46 +0000
commit46abf4b39a555294ec0df138923daed1ccb9adb5 (patch)
tree211315bce777186654b098eb11ee6e76f765d4c2 /arch/mips/sibyte/sb1250/time.c
parentd1598b6adb0e7d9615f751f3bced128bcceb7378 (diff)
[MIPS] SB1250: Use the right irqaction for the timer interrupt.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/sb1250/time.c')
-rw-r--r--arch/mips/sibyte/sb1250/time.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/mips/sibyte/sb1250/time.c b/arch/mips/sibyte/sb1250/time.c
index 181a4139dea..e224fe7715c 100644
--- a/arch/mips/sibyte/sb1250/time.c
+++ b/arch/mips/sibyte/sb1250/time.c
@@ -113,12 +113,6 @@ static irqreturn_t sibyte_counter_handler(int irq, void *dev_id)
return IRQ_HANDLED;
}
-static struct irqaction sibyte_irqaction = {
- .handler = sibyte_counter_handler,
- .flags = IRQF_DISABLED | IRQF_PERCPU,
- .name = "timer",
-};
-
static DEFINE_PER_CPU(struct clock_event_device, sibyte_hpt_clockevent);
static DEFINE_PER_CPU(struct irqaction, sibyte_hpt_irqaction);
static DEFINE_PER_CPU(char [18], sibyte_hpt_name);
@@ -161,7 +155,7 @@ void __cpuinit sb1250_clockevent_init(void)
action->flags = IRQF_DISABLED | IRQF_PERCPU;
action->name = name;
action->dev_id = cd;
- setup_irq(irq, &sibyte_irqaction);
+ setup_irq(irq, &action);
}
/*