- UML 2.6.6-1um added an argument to do_mmap_pgoff(), must have missed
authorMark Huang <mlhuang@cs.princeton.edu>
Tue, 8 Jun 2004 22:12:20 +0000 (22:12 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Tue, 8 Jun 2004 22:12:20 +0000 (22:12 +0000)
  this file

arch/i386/kernel/sys_i386.c

index fc8001a..4aadf90 100644 (file)
@@ -57,7 +57,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)