X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=mm%2Fmlock.c;h=b70919ce4f72e6941f67b1a5462f5f270c231536;hb=9a6655e49fd98f3748bb80da20705448aad9ee57;hp=cbae7c5b95680a1bfca1df7e11a215bfce15b57c;hpb=29cfcddc0e745b515ec360ffe2ee4e7a4015efd8;p=pandora-kernel.git diff --git a/mm/mlock.c b/mm/mlock.c index cbae7c5b9568..b70919ce4f72 100644 --- a/mm/mlock.c +++ b/mm/mlock.c @@ -135,12 +135,6 @@ void munlock_vma_page(struct page *page) } } -/* Is the vma a continuation of the stack vma above it? */ -static inline int vma_stack_continue(struct vm_area_struct *vma, unsigned long addr) -{ - return vma && (vma->vm_end == addr) && (vma->vm_flags & VM_GROWSDOWN); -} - static inline int stack_guard_page(struct vm_area_struct *vma, unsigned long addr) { return (vma->vm_flags & VM_GROWSDOWN) &&