Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105927
b: refs/heads/master
c: d8878ba
h: refs/heads/master
i:
  105925: b6ad709
  105923: 68b4b0a
  105919: 5a10c77
v: v3
  • Loading branch information
Michael Kerrisk authored and Linus Torvalds committed Jul 25, 2008
1 parent 4f2b566 commit 3cde35a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4901f92a8dbe843e76651a50f7a2a6dd3d53474
refs/heads/master: d8878ba3f05ae5bbfad5a6e72e5121c0ea35f989
10 changes: 4 additions & 6 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1370,10 +1370,9 @@ void do_notify_parent(struct task_struct *tsk, int sig)

info.si_uid = tsk->uid;

/* FIXME: find out whether or not this is supposed to be c*time. */
info.si_utime = cputime_to_jiffies(cputime_add(tsk->utime,
info.si_utime = cputime_to_clock_t(cputime_add(tsk->utime,
tsk->signal->utime));
info.si_stime = cputime_to_jiffies(cputime_add(tsk->stime,
info.si_stime = cputime_to_clock_t(cputime_add(tsk->stime,
tsk->signal->stime));

info.si_status = tsk->exit_code & 0x7f;
Expand Down Expand Up @@ -1441,9 +1440,8 @@ static void do_notify_parent_cldstop(struct task_struct *tsk, int why)

info.si_uid = tsk->uid;

/* FIXME: find out whether or not this is supposed to be c*time. */
info.si_utime = cputime_to_jiffies(tsk->utime);
info.si_stime = cputime_to_jiffies(tsk->stime);
info.si_utime = cputime_to_clock_t(tsk->utime);
info.si_stime = cputime_to_clock_t(tsk->stime);

info.si_code = why;
switch (why) {
Expand Down

0 comments on commit 3cde35a

Please sign in to comment.