m68k: sun3/sun3c: use legacy_timer_tick
[linux-2.6-microblaze.git] / arch / m68k / sun3x / time.c
index 9163294..f6e25fd 100644 (file)
@@ -77,14 +77,13 @@ int sun3x_hwclk(int set, struct rtc_time *t)
 #if 0
 static irqreturn_t sun3x_timer_tick(int irq, void *dev_id)
 {
-       irq_handler_t timer_routine = dev_id;
        unsigned long flags;
 
        local_irq_save(flags);
        /* Clear the pending interrupt - pulse the enable line low */
        disable_irq(5);
        enable_irq(5);
-       timer_routine(0, NULL);
+       legacy_timer_tick(1);
        local_irq_restore(flags);
 
        return IRQ_HANDLED;