From ab81ef893c0846c931db7f222e412c681259598f Mon Sep 17 00:00:00 2001 From: jacob Date: Mon, 14 Feb 2005 19:32:22 +0000 Subject: [PATCH] Add patch to fix running with 2.6 host systems. --- .../patches/uml-sigusr1-2.4-vanilla.patch | 22 ++++++++++++++++++++++ lustre/kernel_patches/series/vanilla-2.4.24 | 1 + 2 files changed, 23 insertions(+) create mode 100644 lustre/kernel_patches/patches/uml-sigusr1-2.4-vanilla.patch 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 index 0000000..fa4ccae --- /dev/null +++ b/lustre/kernel_patches/patches/uml-sigusr1-2.4-vanilla.patch @@ -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 + #include + #include ++#include + #include + #include + #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) diff --git a/lustre/kernel_patches/series/vanilla-2.4.24 b/lustre/kernel_patches/series/vanilla-2.4.24 index 379e4cb..d4dc1c1 100644 --- a/lustre/kernel_patches/series/vanilla-2.4.24 +++ b/lustre/kernel_patches/series/vanilla-2.4.24 @@ -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 -- 1.8.3.1