fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-arm / arch-l7200 / time.h
index 31d791a..ea22f7f 100644 (file)
  * Handler for RTC timer interrupt
  */
 static irqreturn_t
-timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
+timer_interrupt(int irq, void *dev_id)
 {
-       do_timer(regs);
+       struct pt_regs *regs = get_irq_regs();
+       do_timer(1);
+#ifndef CONFIG_SMP
+       update_process_times(user_mode(regs));
+#endif
        do_profile(regs);
        RTC_RTCC = 0;                           /* Clear interrupt */