diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 61e66f026563..4c6ea10f3d18 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -2966,7 +2966,7 @@ static inline int check_stack_guard_page(struct vm_area_struct *vma, unsigned lo | |||
2966 | if (prev && prev->vm_end == address) | 2966 | if (prev && prev->vm_end == address) |
2967 | return prev->vm_flags & VM_GROWSDOWN ? 0 : -ENOMEM; | 2967 | return prev->vm_flags & VM_GROWSDOWN ? 0 : -ENOMEM; |
2968 | 2968 | ||
2969 | expand_stack(vma, address - PAGE_SIZE); | 2969 | expand_downwards(vma, address - PAGE_SIZE); |
2970 | } | 2970 | } |
2971 | if ((vma->vm_flags & VM_GROWSUP) && address + PAGE_SIZE == vma->vm_end) { | 2971 | if ((vma->vm_flags & VM_GROWSUP) && address + PAGE_SIZE == vma->vm_end) { |
2972 | struct vm_area_struct *next = vma->vm_next; | 2972 | struct vm_area_struct *next = vma->vm_next; |