From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] mm/: remove unused exports
Date: Fri, 13 Jul 2007 01:55:51 +0200 [thread overview]
Message-ID: <20070712235551.GT3492@stusta.de> (raw)
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 <bunk@stusta.de>
---
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
next reply other threads:[~2007-07-12 23:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 23:55 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-29 15:03 [2.6 patch] mm/: remove unused exports Adrian Bunk
2007-08-14 21:27 Adrian Bunk
2007-08-27 21:28 Adrian Bunk
2007-10-24 16:26 Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070712235551.GT3492@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox