Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / asm-i386 / mach-default / do_timer.h
index 9eb6c9d..6312c3e 100644 (file)
@@ -1,6 +1,7 @@
 /* defines for inline arch setup functions */
 
 #include <asm/apic.h>
+#include <asm/i8259.h>
 
 /**
  * do_timer_interrupt_hook - hook into timer tick
@@ -16,6 +17,9 @@
 static inline void do_timer_interrupt_hook(struct pt_regs *regs)
 {
        do_timer(regs);
+#ifndef CONFIG_SMP
+       update_process_times(user_mode_vm(regs));
+#endif
 /*
  * In the SMP case we use the local APIC timer interrupt to do the
  * profiling, except when we simulate SMP mode on a uniprocessor