All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [vm 6/6] for -mm only: remove remap_page_range() completely
Date: Sat, 25 Sep 2004 00:58:34 -0700	[thread overview]
Message-ID: <20040925075834.GJ9106@holomorphy.com> (raw)
In-Reply-To: <20040925075524.GI9106@holomorphy.com>

On Sat, Sep 25, 2004 at 12:55:24AM -0700, William Lee Irwin III wrote:
> This patch converts all users of remap_page_range() under sound/ to use
> remap_pfn_range(), with the exception of maestro3 changelogs, which are
> likely expected to be preserved intact apart from additions (as most
> changelogs are), regardless of API changes.

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.


Index: mm3-2.6.9-rc2/include/linux/mm.h
===================================================================
--- mm3-2.6.9-rc2.orig/include/linux/mm.h	2004-09-25 00:34:59.009495360 -0700
+++ mm3-2.6.9-rc2/include/linux/mm.h	2004-09-25 00:35:15.435998152 -0700
@@ -859,13 +859,6 @@
 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

      reply	other threads:[~2004-09-25  7:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-25  7:44 [vm 0/6] convert remap_page_range() to remap_pfn_range() in a patch series shorter than 76 patches William Lee Irwin III
2004-09-25  7:47 ` [vm 1/6] introduce remap_pfn_range() to replace remap_page_range() William Lee Irwin III
2004-09-25  7:49   ` [vm 2/6] convert references to remap_page_range() under arch/ and Documentation/ to remap_pfn_range() William Lee Irwin III
2004-09-25  7:51     ` [vm 3/6] convert users of remap_page_range() under drivers/ and net/ to use remap_pfn_range() William Lee Irwin III
2004-09-25  7:53       ` [vm 4/6] convert users of remap_page_range() under include/asm-*/ " William Lee Irwin III
2004-09-25  7:55         ` [vm 5/6] convert users of remap_page_range() under sound/ " William Lee Irwin III
2004-09-25  7:58           ` William Lee Irwin III [this message]

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=20040925075834.GJ9106@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.