Skip to contentSkip to conversation

s390: add run_posix_cpu_timers to account_user_vtime.

PATCH New Martin Schwidefsky 1 participant 1 message Mar 17, 2005 s390

lore
Share & tools
lore
#0 lore raw

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.

diffstat:

 arch/s390/kernel/vtime.c |    2 ++
 1 files changed, 2 insertions(+)
arch/s390/kernel/vtime.c +2 -0
diff -urN linux-2.6/arch/s390/kernel/vtime.c linux-2.6-patched/arch/s390/kernel/vtime.c
@@ -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);
 }
 
 /*