mm: make vma_merge() and split_vma() internal
[linux-2.6-block.git] / mm / nommu.c
index f9553579389bfc3931e892d6813508813d8e5d74..fc4afe924ad5ff58f50a540f91a1a79d999c2d53 100644 (file)
@@ -1305,8 +1305,8 @@ SYSCALL_DEFINE1(old_mmap, struct mmap_arg_struct __user *, arg)
  * split a vma into two pieces at address 'addr', a new vma is allocated either
  * for the first part or the tail.
  */
-int split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma,
-             unsigned long addr, int new_below)
+static int split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma,
+                    unsigned long addr, int new_below)
 {
        struct vm_area_struct *new;
        struct vm_region *region;