This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / um / kernel / time_kern.c
index aee0f7f..5ce5668 100644 (file)
@@ -169,9 +169,11 @@ void __const_udelay(um_udelay_t usecs)
 
 void timer_handler(int sig, union uml_pt_regs *regs)
 {
+#ifdef CONFIG_SMP
        local_irq_disable();
        update_process_times(user_context(UPT_SP(regs)));
        local_irq_enable();
+#endif
        if(current_thread->cpu == 0)
                timer_irq(regs);
 }