]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - mm/memory.c
config: Add RTL8XXXU wifi module
[mirror_ubuntu-zesty-kernel.git] / mm / memory.c
index ad7fa9be2fa0cb8c29ea9a3aba613cc51261811d..6d54a9b1552077ee4c163936839c35ec92373b6b 100644 (file)
@@ -2714,8 +2714,6 @@ out_release:
        return ret;
 }
 
-
-
 /*
  * We enter with non-exclusive mmap_sem (to exclude vma changes,
  * but allow concurrent faults), and pte mapped but not yet locked.
@@ -2732,12 +2730,6 @@ static int do_anonymous_page(struct vm_fault *vmf)
        if (vma->vm_flags & VM_SHARED)
                return VM_FAULT_SIGBUS;
 
-       /* Check if we need to add a guard page to the stack */
-       if (stack_guard_area(vma, vmf->address)) {
-               if (expand_stack(vma, vmf->address) < 0)
-                       return VM_FAULT_SIGSEGV;
-       }
-
        /*
         * Use pte_alloc() instead of pte_alloc_map().  We can't run
         * pte_offset_map() on pmds where a huge pmd might be created