mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
b5934c5318
commit
2afd1c928f
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue