Commit cf74d14c authored by Al Viro's avatar Al Viro

unexport do_mmap()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4ad310b8
...@@ -1118,7 +1118,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr, ...@@ -1118,7 +1118,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr,
return -EINVAL; return -EINVAL;
return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT);
} }
EXPORT_SYMBOL(do_mmap);
unsigned long vm_mmap(struct file *file, unsigned long addr, unsigned long vm_mmap(struct file *file, unsigned long addr,
unsigned long len, unsigned long prot, unsigned long len, unsigned long prot,
......
...@@ -1481,7 +1481,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr, ...@@ -1481,7 +1481,6 @@ unsigned long do_mmap(struct file *file, unsigned long addr,
return -EINVAL; return -EINVAL;
return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT); return do_mmap_pgoff(file, addr, len, prot, flag, offset >> PAGE_SHIFT);
} }
EXPORT_SYMBOL(do_mmap);
unsigned long vm_mmap(struct file *file, unsigned long addr, unsigned long vm_mmap(struct file *file, unsigned long addr,
unsigned long len, unsigned long prot, unsigned long len, unsigned long prot,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment