[patch 3/8] s390: add run_posix_cpu_timers to account_user_vtime.

From: Martin Schwidefsky <[EMAIL PROTECTED]>

The posix-timers patch introduces a call to run_posix_cpu_timers
in update_process_times. The same call is required in the s390
private account_user_vtime function as well.

Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>

diffstat:
 arch/s390/kernel/vtime.c |    2 ++
 1 files changed, 2 insertions(+)

diff -urN linux-2.6/arch/s390/kernel/vtime.c 
linux-2.6-patched/arch/s390/kernel/vtime.c
--- linux-2.6/arch/s390/kernel/vtime.c  2005-03-02 08:38:26.000000000 +0100
+++ linux-2.6-patched/arch/s390/kernel/vtime.c  2005-03-17 15:35:59.000000000 
+0100
@@ -19,6 +19,7 @@
 #include <linux/notifier.h>
 #include <linux/kernel_stat.h>
 #include <linux/rcupdate.h>
+#include <linux/posix-timers.h>
 
 #include <asm/s390_ext.h>
 #include <asm/timer.h>
@@ -69,6 +70,7 @@
        if (rcu_pending(smp_processor_id()))
                rcu_check_callbacks(smp_processor_id(), rcu_user_flag);
        scheduler_tick();
+       run_posix_cpu_timers(tsk);
 }
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to