linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: linux-ia64@vger.kernel.org, linux-mm@kvack.org,
	linux-kernel@vger.kernel.org, hch@infradead.org,
	jgarzik@pobox.com, wli@holomorphy.com,
	Dave Hansen <haveblue@us.ibm.com>,
	Jack Steiner <steiner@americas.sgi.com>
Subject: [Patch 2/3] Export get_one_pte_map.
Date: Fri, 14 Oct 2005 14:22:25 -0500	[thread overview]
Message-ID: <20051014192225.GD14418@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <20051014192111.GB14418@lnx-holt.americas.sgi.com>

Add an export of get_one_pte_map.

Signed-off-by: Robin Holt <holt@sgi.com>


Index: linux-2.6/mm/mremap.c
===================================================================
--- linux-2.6.orig/mm/mremap.c	2005-09-28 15:05:56.000000000 -0500
+++ linux-2.6/mm/mremap.c	2005-10-14 11:32:11.276747477 -0500
@@ -12,6 +12,7 @@
 #include <linux/slab.h>
 #include <linux/shm.h>
 #include <linux/mman.h>
+#include <linux/module.h>
 #include <linux/swap.h>
 #include <linux/fs.h>
 #include <linux/highmem.h>
@@ -50,7 +51,7 @@ end:
 	return pte;
 }
 
-static pte_t *get_one_pte_map(struct mm_struct *mm, unsigned long addr)
+pte_t *get_one_pte_map(struct mm_struct *mm, unsigned long addr)
 {
 	pgd_t *pgd;
 	pud_t *pud;
@@ -70,6 +71,7 @@ static pte_t *get_one_pte_map(struct mm_
 
 	return pte_offset_map(pmd, addr);
 }
+EXPORT_SYMBOL(get_one_pte_map);
 
 static inline pte_t *alloc_one_pte_map(struct mm_struct *mm, unsigned long addr)
 {
Index: linux-2.6/include/linux/mm.h
===================================================================
--- linux-2.6.orig/include/linux/mm.h	2005-10-12 11:21:54.701122262 -0500
+++ linux-2.6/include/linux/mm.h	2005-10-14 09:04:29.191902399 -0500
@@ -733,6 +733,7 @@ int FASTCALL(set_page_dirty(struct page 
 int set_page_dirty_lock(struct page *page);
 int clear_page_dirty_for_io(struct page *page);
 
+extern pte_t *get_one_pte_map(struct mm_struct *mm, unsigned long addr);
 extern unsigned long do_mremap(unsigned long addr,
 			       unsigned long old_len, unsigned long new_len,
 			       unsigned long flags, unsigned long new_addr);

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2005-10-14 19:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-14 19:21 [Patch 0/3] SGI Altix and ia64 special memory support Robin Holt
2005-10-14 19:21 ` [Patch 1/3] Add a NOPAGE_FAULTED flag Robin Holt
2005-10-14 19:22 ` Robin Holt [this message]
2005-10-14 21:30   ` [Patch 2/3] Export get_one_pte_map Greg KH
2005-10-17 11:31     ` Robin Holt
2005-10-17 11:36       ` Christoph Hellwig
2005-10-17 11:39         ` Robin Holt
2005-10-17 11:41       ` Dave Hansen
2005-10-17 11:47         ` Robin Holt
2005-10-17 12:33           ` Hugh Dickins
2005-10-17 15:14             ` Robin Holt
2005-10-17 15:20               ` Greg KH
2005-10-17 15:56                 ` Robin Holt
2005-10-17 16:05                   ` Greg KH
2005-10-17 16:09                   ` Dave Hansen
2005-10-17 16:14                   ` Hugh Dickins
2005-10-17 20:53                     ` Andrew Morton
2005-10-18  8:48                       ` Carsten Otte
2005-10-17 15:59               ` Hugh Dickins
2005-10-17 20:25                 ` Robin Holt
2005-10-17 20:59                   ` Hugh Dickins
2005-10-18 23:28       ` William Lee Irwin III
2005-10-14 19:22 ` [Patch 3/3] Special Memory (mspec) driver Robin Holt

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=20051014192225.GD14418@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --cc=haveblue@us.ibm.com \
    --cc=hch@infradead.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=steiner@americas.sgi.com \
    --cc=wli@holomorphy.com \
    /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