1 arch/i386/kernel/sys_i386.c | 2 +-
2 1 files changed, 1 insertion(+), 1 deletion(-)
4 --- 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
5 +++ linux-2.4.20-vanilla-alexey/arch/i386/kernel/sys_i386.c 2003-09-15 10:26:19.000000000 +0400
6 @@ -56,7 +56,7 @@ static inline long do_mmap2(
9 down_write(¤t->mm->mmap_sem);
10 - error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
11 + error = do_mmap_pgoff(current->mm, file, addr, len, prot, flags, pgoff);
12 up_write(¤t->mm->mmap_sem);