]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/kernel/timers/timer-mtu2.c
Merge commit 'origin' into devel
[linux-2.6-omap-h63xx.git] / arch / sh / kernel / timers / timer-mtu2.c
index b7499a2a9188b97f7b9d949961f35e7afd0c9d5e..fe453c01f9c9d533ab4d3fd5e4e1356c4bba6aa8 100644 (file)
@@ -76,7 +76,7 @@ static unsigned long mtu2_timer_get_offset(void)
                                count -= LATCH;
                        } else {
                                printk("%s (): hardware timer problem?\n",
-                                      __FUNCTION__);
+                                      __func__);
                        }
                }
        } else
@@ -100,9 +100,7 @@ static irqreturn_t mtu2_timer_interrupt(int irq, void *dev_id)
        ctrl_outb(timer_status, MTU2_TSR_1);
 
        /* Do timer tick */
-       write_seqlock(&xtime_lock);
        handle_timer_tick();
-       write_sequnlock(&xtime_lock);
 
        return IRQ_HANDLED;
 }
@@ -156,7 +154,6 @@ static int mtu2_timer_stop(void)
 
 static int mtu2_timer_init(void)
 {
-       u8 tmp;
        unsigned long interval;
 
        setup_irq(CONFIG_SH_TIMER_IRQ, &mtu2_irq);