Whamcloud - gitweb
Add patch to fix running with 2.6 host systems.
authorjacob <jacob>
Mon, 14 Feb 2005 19:32:22 +0000 (19:32 +0000)
committerjacob <jacob>
Mon, 14 Feb 2005 19:32:22 +0000 (19:32 +0000)
lustre/kernel_patches/patches/uml-sigusr1-2.4-vanilla.patch [new file with mode: 0644]
lustre/kernel_patches/series/vanilla-2.4.24

diff --git a/lustre/kernel_patches/patches/uml-sigusr1-2.4-vanilla.patch b/lustre/kernel_patches/patches/uml-sigusr1-2.4-vanilla.patch
new file mode 100644 (file)
index 0000000..fa4ccae
--- /dev/null
@@ -0,0 +1,22 @@
+Index: linux-2.4.24/arch/um/os-Linux/process.c
+===================================================================
+--- linux-2.4.24.orig/arch/um/os-Linux/process.c       2005-02-14 14:25:32.784128506 -0500
++++ linux-2.4.24/arch/um/os-Linux/process.c    2005-02-14 14:26:24.990396165 -0500
+@@ -7,6 +7,7 @@
+ #include <stdio.h>
+ #include <errno.h>
+ #include <signal.h>
++#include <linux/unistd.h>
+ #include <sys/mman.h>
+ #include <sys/wait.h>
+ #include "os.h"
+@@ -92,7 +93,8 @@
+ void os_usr1_process(int pid)
+ {
+-      kill(pid, SIGUSR1);
++       syscall(__NR_tkill, pid, SIGUSR1);
++/*     tkill(pid, SIGUSR1);*/
+ }
+ int os_getpid(void)
index 379e4cb..d4dc1c1 100644 (file)
@@ -42,3 +42,4 @@ export_num_siblings.patch
 ext3-nlinks-2.4.24.patch
 export-show_task-2.4-vanilla.patch 
 export-zap-page-range.patch
+uml-sigusr1-2.4-vanilla.patch