[2.6 patch] mm/: remove unused exports

From: Adrian Bunk
Date: Tue Aug 14 2007 - 17:51:47 EST


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

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

This patch has been sent on:
- 29 Jul 2007
- 13 Jul 2007

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,3 +1232,2 @@
}
-EXPORT_SYMBOL(get_unmapped_area);



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