Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.13-ac8 /kernel/signal.c

Filename:/kernel/signal.c
Lines Added:3
Lines Deleted:2
Also changed in: (Previous) 2.4.13-ac7  2.4.13-ac6  2.4.13-ac5  2.4.13-ac4  2.4.13-ac3  2.4.13-ac1 
(Following) 2.4.15-pre9  2.4.15-greased-turkey  2.4.19-pre2  2.4.19-pre1-ac3  2.4.19-pre2-ac2  2.4.19-pre2-ac3 

Location
[  2.4.13-ac8
  [  kernel
     o  signal.c

Patch

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/kernel/signal.c linux.ac/kernel/signal.c
--- linux.vanilla/kernel/signal.c   Tue Sep 18 00:40:01 2001
+++ linux.ac/kernel/signal.c   Wed Oct 10 01:48:37 2001
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 
+#include <asm/param.h>
 #include <asm/uaccess.h>
 
 /*
@@ -742,8 +743,8 @@
    info.si_uid = tsk->uid;
 
    /* FIXME: find out whether or not this is supposed to be c*time. */
-   info.si_utime = tsk->times.tms_utime;
-   info.si_stime = tsk->times.tms_stime;
+   info.si_utime = hz_to_std(tsk->times.tms_utime);
+   info.si_stime = hz_to_std(tsk->times.tms_stime);
 
    status = tsk->exit_code & 0x7f;
    why = SI_KERNEL;   /* shouldn't happen */


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.