2005-03-17 14:59:37

by Martin Schwidefsky

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

[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);
}

/*