This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / i386 / kernel / sys_i386.c
index e68b2ba..551e33c 100644 (file)
@@ -58,7 +58,7 @@ static inline long do_mmap2(
        }
 
        down_write(&current->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(&current->mm->mmap_sem);
 
        if (file)