diff options
Diffstat (limited to 'mm/nommu.c')
-rw-r--r-- | mm/nommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/nommu.c b/mm/nommu.c index fbe3e2f317eb..298884dcd6e7 100644 --- a/mm/nommu.c +++ b/mm/nommu.c | |||
@@ -1771,7 +1771,7 @@ unsigned long vm_brk(unsigned long addr, unsigned long len) | |||
1771 | * | 1771 | * |
1772 | * MREMAP_FIXED is not supported under NOMMU conditions | 1772 | * MREMAP_FIXED is not supported under NOMMU conditions |
1773 | */ | 1773 | */ |
1774 | unsigned long do_mremap(unsigned long addr, | 1774 | static unsigned long do_mremap(unsigned long addr, |
1775 | unsigned long old_len, unsigned long new_len, | 1775 | unsigned long old_len, unsigned long new_len, |
1776 | unsigned long flags, unsigned long new_addr) | 1776 | unsigned long flags, unsigned long new_addr) |
1777 | { | 1777 | { |
@@ -1806,7 +1806,6 @@ unsigned long do_mremap(unsigned long addr, | |||
1806 | vma->vm_end = vma->vm_start + new_len; | 1806 | vma->vm_end = vma->vm_start + new_len; |
1807 | return vma->vm_start; | 1807 | return vma->vm_start; |
1808 | } | 1808 | } |
1809 | EXPORT_SYMBOL(do_mremap); | ||
1810 | 1809 | ||
1811 | SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, | 1810 | SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len, |
1812 | unsigned long, new_len, unsigned long, flags, | 1811 | unsigned long, new_len, unsigned long, flags, |