]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/nommu.c
V4L/DVB (5880): wm8775/wm8739: Fix memory leak when unloading module
[linux-2.6-omap-h63xx.git] / mm / nommu.c
index 989e2e9af5c3adc42cb250409a4b7249288e0df7..1b105d28949f5bf407d30b32007ecdbb95b9452e 100644 (file)
@@ -367,6 +367,11 @@ struct vm_area_struct *find_extend_vma(struct mm_struct *mm, unsigned long addr)
        return find_vma(mm, addr);
 }
 
+int expand_stack(struct vm_area_struct *vma, unsigned long address)
+{
+       return -ENOMEM;
+}
+
 /*
  * look up the first VMA exactly that exactly matches addr
  * - should be called with mm->mmap_sem at least held readlocked
@@ -1336,11 +1341,10 @@ int in_gate_area_no_task(unsigned long addr)
        return 0;
 }
 
-struct page *filemap_nopage(struct vm_area_struct *area,
-                       unsigned long address, int *type)
+int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
 {
        BUG();
-       return NULL;
+       return 0;
 }
 
 /*