diff options
author | Hugh Dickins <hugh@veritas.com> | 2009-01-06 14:39:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 15:59:02 -0800 |
commit | 2afd1c928f1132b8d0099866e75ce8ad713a1180 (patch) | |
tree | e31d1cfd0b11df74e0241fe43e4be2c72a8946ff /include/linux/rmap.h | |
parent | b5934c531849ff4a51ce0f290141efe564290e40 (diff) | |
download | kernel_goldelico_gta04-2afd1c928f1132b8d0099866e75ce8ad713a1180.zip kernel_goldelico_gta04-2afd1c928f1132b8d0099866e75ce8ad713a1180.tar.gz kernel_goldelico_gta04-2afd1c928f1132b8d0099866e75ce8ad713a1180.tar.bz2 |
mm: make page_lock_anon_vma() static
page_lock_anon_vma() and page_unlock_anon_vma() were made available to
show_page_path() in vmscan.c; but now that has been removed, make them
static in rmap.c again, they're better kept private if possible.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r-- | include/linux/rmap.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index 89f0564..3593b18 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h @@ -63,9 +63,6 @@ void anon_vma_unlink(struct vm_area_struct *); void anon_vma_link(struct vm_area_struct *); void __anon_vma_link(struct vm_area_struct *); -extern struct anon_vma *page_lock_anon_vma(struct page *page); -extern void page_unlock_anon_vma(struct anon_vma *anon_vma); - /* * rmap interfaces called when adding or removing pte of page */ |