]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-h720x/cpu-h7201.c
Merge branch 'for-linus' of git://neil.brown.name/md
[mv-sheeva.git] / arch / arm / mach-h720x / cpu-h7201.c
index af9e4a5d5ea7fcd97c9fe5e714b516391426ba36..c2a431f482f01bcbecf06a61897f35716b678e84 100644 (file)
  * Timer interrupt handler
  */
 static irqreturn_t
-h7201_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+h7201_timer_interrupt(int irq, void *dev_id)
 {
-       write_seqlock(&xtime_lock);
-
        CPU_REG (TIMER_VIRT, TIMER_TOPSTAT);
-       timer_tick(regs);
-
-       write_sequnlock(&xtime_lock);
+       timer_tick();
 
        return IRQ_HANDLED;
 }
 
 static struct irqaction h7201_timer_irq = {
        .name           = "h7201 Timer Tick",
-       .flags          = SA_INTERRUPT | SA_TIMER,
+       .flags          = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
        .handler        = h7201_timer_interrupt,
 };