public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: John Fusco <fusco_john@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: [vm 4/4] remove remap_page_range()
Date: Thu, 23 Sep 2004 19:25:38 -0700	[thread overview]
Message-ID: <20040924022538.GP9106@holomorphy.com> (raw)
In-Reply-To: <20040924022329.GO9106@holomorphy.com>

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

  reply	other threads:[~2004-09-24  2:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <41535AAE.6090700@yahoo.com>
2004-09-24  2:17 ` [vm 0/4] replace remap_page_range() with remap_pfn_range() William Lee Irwin III
2004-09-24  2:19   ` [vm 1/4] convert remap_page_range() to remap_pfn_range() William Lee Irwin III
2004-09-24  2:21     ` [vm 2/4] convert io_remap_page_range() to call remap_pfn_range() William Lee Irwin III
2004-09-24  2:23       ` [vm 3/4] convert direct callers of remap_page_range() William Lee Irwin III
2004-09-24  2:25         ` William Lee Irwin III [this message]
2004-09-24  2:27         ` William Lee Irwin III
2004-09-24  3:29   ` [vm 0/4] replace remap_page_range() with remap_pfn_range() William Lee Irwin III

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=20040924022538.GP9106@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=fusco_john@yahoo.com \
    --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