aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mmap.c')
-rw-r--r--mm/mmap.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index e76f8d752884..adb12527fd0e 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1774,7 +1774,7 @@ int expand_upwards(struct vm_area_struct *vma, unsigned long address)
1774/* 1774/*
1775 * vma is the first one with address < vma->vm_start. Have to extend vma. 1775 * vma is the first one with address < vma->vm_start. Have to extend vma.
1776 */ 1776 */
1777static int expand_downwards(struct vm_area_struct *vma, 1777int expand_downwards(struct vm_area_struct *vma,
1778 unsigned long address) 1778 unsigned long address)
1779{ 1779{
1780 int error; 1780 int error;
@@ -1821,11 +1821,6 @@ static int expand_downwards(struct vm_area_struct *vma,
1821 return error; 1821 return error;
1822} 1822}
1823 1823
1824int expand_stack_downwards(struct vm_area_struct *vma, unsigned long address)
1825{
1826 return expand_downwards(vma, address);
1827}
1828
1829#ifdef CONFIG_STACK_GROWSUP 1824#ifdef CONFIG_STACK_GROWSUP
1830int expand_stack(struct vm_area_struct *vma, unsigned long address) 1825int expand_stack(struct vm_area_struct *vma, unsigned long address)
1831{ 1826{