Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347274
b: refs/heads/master
c: 6133705
h: refs/heads/master
v: v3
  • Loading branch information
Nick Kossifidis authored and Theodore Ts'o committed Dec 17, 2012
1 parent 5b33d3d commit 4f8e8c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ec8f02da9ea500474417d1d31fa3d46a562ab366
refs/heads/master: 6133705494bb02953e1e2cc3018a4373981b3c97
3 changes: 3 additions & 0 deletions trunk/kernel/posix-cpu-timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <asm/uaccess.h>
#include <linux/kernel_stat.h>
#include <trace/events/timer.h>
#include <linux/random.h>

/*
* Called after updating RLIMIT_CPU to run cpu timer and update
Expand Down Expand Up @@ -494,6 +495,8 @@ static void cleanup_timers(struct list_head *head,
*/
void posix_cpu_timers_exit(struct task_struct *tsk)
{
add_device_randomness((const void*) &tsk->se.sum_exec_runtime,
sizeof(unsigned long long));
cleanup_timers(tsk->cpu_timers,
tsk->utime, tsk->stime, tsk->se.sum_exec_runtime);

Expand Down

0 comments on commit 4f8e8c5

Please sign in to comment.