diff options
Diffstat (limited to 'mm/mmap.c')
-rw-r--r-- | mm/mmap.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 | */ |
1777 | static int expand_downwards(struct vm_area_struct *vma, | 1777 | int 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 | ||
1824 | int 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 |
1830 | int expand_stack(struct vm_area_struct *vma, unsigned long address) | 1825 | int expand_stack(struct vm_area_struct *vma, unsigned long address) |
1831 | { | 1826 | { |