summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWilliam Lee Irwin III <wli@holomorphy.com>2005-01-07 22:01:01 -0800
committerLinus Torvalds <torvalds@evo.osdl.org>2005-01-07 22:01:01 -0800
commitce1d9c8aadcaf399793405fb5a090f2abe3ec581 (patch)
treef427be71f7fc807c9a4bfb54dc4f3ab8565385ca /include/linux
parent23526361e625a61e4020c4994da522c5f900584d (diff)
[PATCH] vm: for -mm only: remove remap_page_range() completely
All in-tree references to remap_page_range() have been removed by prior patches in the series. This patch, intended to be applied after some waiting period for people to adjust to the API change, notice __deprecated, etc., does the final removal of remap_page_range() as a function symbol declared within kernel headers and/or implemented in kernel sources. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mm.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index bef2e741f89a..a52b121c639e 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -811,13 +811,6 @@ extern int check_user_page_readable(struct mm_struct *mm, unsigned long address)
int remap_pfn_range(struct vm_area_struct *, unsigned long,
unsigned long, unsigned long, pgprot_t);
-static inline __deprecated /* since 25 Sept 2004 -- wli */
-int remap_page_range(struct vm_area_struct *vma, unsigned long uvaddr,
- unsigned long paddr, unsigned long size, pgprot_t prot)
-{
- return remap_pfn_range(vma, uvaddr, paddr >> PAGE_SHIFT, size, prot);
-}
-
#ifdef CONFIG_PROC_FS
void __vm_stat_account(struct mm_struct *, unsigned long, struct file *, long);
#else