Whamcloud - gitweb
Modified ChangeLog entry.
[fs/lustre-release.git] / lustre / kernel_patches / patches / uml-sigusr1-2.4-vanilla.patch
1 Index: linux-2.4.24/arch/um/os-Linux/process.c
2 ===================================================================
3 --- linux-2.4.24.orig/arch/um/os-Linux/process.c        2005-02-14 14:25:32.784128506 -0500
4 +++ linux-2.4.24/arch/um/os-Linux/process.c     2005-02-14 14:26:24.990396165 -0500
5 @@ -7,6 +7,7 @@
6  #include <stdio.h>
7  #include <errno.h>
8  #include <signal.h>
9 +#include <linux/unistd.h>
10  #include <sys/mman.h>
11  #include <sys/wait.h>
12  #include "os.h"
13 @@ -92,7 +93,8 @@
14  
15  void os_usr1_process(int pid)
16  {
17 -       kill(pid, SIGUSR1);
18 +       syscall(__NR_tkill, pid, SIGUSR1);
19 +/*     tkill(pid, SIGUSR1);*/
20  }
21  
22  int os_getpid(void)