LWN.net Logo

remove remap_page_range()

From:  William Lee Irwin III <wli@holomorphy.com>
To:  John Fusco <fusco_john@yahoo.com>
Subject:  [vm 4/4] remove remap_page_range()
Date:  Thu, 23 Sep 2004 19:25:38 -0700
Cc:  linux-kernel@vger.kernel.org

On Thu, Sep 23, 2004 at 07:23:29PM -0700, William Lee Irwin III wrote:
> Eliminate direct callers of remap_page_range().

Eliminate the last vestiges of remap_page_range() apart from maestro3
changelogs.

Index: mm2-2.6.9-rc2/include/linux/mm.h
===================================================================
--- mm2-2.6.9-rc2.orig/include/linux/mm.h	2004-09-23 16:35:12.546535586 -0700
+++ mm2-2.6.9-rc2/include/linux/mm.h	2004-09-23 19:09:41.615422930 -0700
@@ -767,14 +767,6 @@
 int remap_pfn_range(struct vm_area_struct *vma, unsigned long uvaddr,
 		unsigned long pfn, unsigned long size, pgprot_t prot);
 
-static inline 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds