This patch removes the following unused EXPORT_SYMBOL's:
- migrate.c: migrate_page
- mm/mmap.c: get_unmapped_area
- mm/mmap.c: get_unmapped_area

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 mm/migrate.c |    1 -
 mm/mmap.c    |    2 --
 mm/nommu.c   |    2 --
 3 files changed, 5 deletions(-)

--- linux-2.6.22-rc6-mm1/mm/migrate.c.old       2007-07-12 03:15:05.000000000 
+0200
+++ linux-2.6.22-rc6-mm1/mm/migrate.c   2007-07-12 03:15:15.000000000 +0200
@@ -426,7 +426,6 @@
        migrate_page_copy(newpage, page);
        return 0;
 }
-EXPORT_SYMBOL(migrate_page);
 
 #ifdef CONFIG_BLOCK
 /*
--- linux-2.6.22-rc6-mm1/mm/mmap.c.old  2007-07-12 03:20:19.000000000 +0200
+++ linux-2.6.22-rc6-mm1/mm/mmap.c      2007-07-12 03:20:33.000000000 +0200
@@ -1408,8 +1408,6 @@
        return addr;
 }
 
-EXPORT_SYMBOL(get_unmapped_area);
-
 /* Look up the first VMA which satisfies  addr < vm_end,  NULL if none. */
 struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr)
 {
--- linux-2.6.22-rc6-mm1/mm/nommu.c.old 2007-07-12 03:20:41.000000000 +0200
+++ linux-2.6.22-rc6-mm1/mm/nommu.c     2007-07-12 03:20:57.000000000 +0200
@@ -1232,8 +1232,6 @@
        return get_area(file, addr, len, pgoff, flags);
 }
 
-EXPORT_SYMBOL(get_unmapped_area);
-
 /*
  * Check that a process has enough memory to allocate a new virtual
  * mapping. 0 means there is enough memory for the allocation to

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to