From: alex Date: Mon, 15 Sep 2003 06:32:05 +0000 (+0000) Subject: - vanilla-2.4.20 series did't build for i386 arch w/o this patch X-Git-Tag: v1_7_0_51~2^7~539 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=91873ffb805df34cab7a3b4fc8e5064e3e0b21af;p=fs%2Flustre-release.git - vanilla-2.4.20 series did't build for i386 arch w/o this patch --- diff --git a/lustre/kernel_patches/patches/uml-2.4.20-do_mmap_pgoff-fix.patch b/lustre/kernel_patches/patches/uml-2.4.20-do_mmap_pgoff-fix.patch new file mode 100644 index 0000000..844d735 --- /dev/null +++ b/lustre/kernel_patches/patches/uml-2.4.20-do_mmap_pgoff-fix.patch @@ -0,0 +1,16 @@ + arch/i386/kernel/sys_i386.c | 2 +- + 1 files changed, 1 insertion(+), 1 deletion(-) + +--- linux-2.4.20-vanilla/arch/i386/kernel/sys_i386.c~uml-2.4.20-do_mmap_pgoff-fix 2001-03-19 23:35:09.000000000 +0300 ++++ linux-2.4.20-vanilla-alexey/arch/i386/kernel/sys_i386.c 2003-09-15 10:26:19.000000000 +0400 +@@ -56,7 +56,7 @@ static inline long do_mmap2( + } + + down_write(¤t->mm->mmap_sem); +- error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff); ++ error = do_mmap_pgoff(current->mm, file, addr, len, prot, flags, pgoff); + up_write(¤t->mm->mmap_sem); + + if (file) + +_ diff --git a/lustre/kernel_patches/pc/uml-2.4.20-do_mmap_pgoff-fix.pc b/lustre/kernel_patches/pc/uml-2.4.20-do_mmap_pgoff-fix.pc new file mode 100644 index 0000000..87481ae --- /dev/null +++ b/lustre/kernel_patches/pc/uml-2.4.20-do_mmap_pgoff-fix.pc @@ -0,0 +1 @@ +arch/i386/kernel/sys_i386.c