summaryrefslogtreecommitdiff
path: root/include/linux/rmap.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-22 08:09:49 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-22 08:09:49 -0700
commite1fd9cc9cbb5ac6465601833ea1cc5d6d376a155 (patch)
treec7f539824b7dee42628538ed9f5e01fd6a837117 /include/linux/rmap.h
parent2b2e2a3615d022106c0300241219c1d952208b3d (diff)
[PATCH] rmap 37 page_add_anon_rmap vma
From: Hugh Dickins <hugh@veritas.com> Silly final patch for anonmm rmap: change page_add_anon_rmap's mm arg to vma arg like anon_vma rmap, to smooth the transition between them.
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r--include/linux/rmap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h
index 0194bb480e98..13e896e984aa 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -14,7 +14,10 @@
#ifdef CONFIG_MMU
-void page_add_anon_rmap(struct page *, struct mm_struct *, unsigned long);
+/*
+ * rmap interfaces called when adding or removing pte of page
+ */
+void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
void page_add_file_rmap(struct page *);
void page_remove_rmap(struct page *);