diff options
author | Jerome Marchand <jmarchan@redhat.com> | 2014-07-17 10:58:00 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-07-17 10:58:00 +1000 |
commit | 5a66c17b27bdc3ad3c1996e0bbf56c197f222938 (patch) | |
tree | 0e5ebe5e4be171193d5f551e9b4451c54a4052c5 /mm | |
parent | cdbc94691ea7b6873742854927fea7a3a7adedc7 (diff) |
mm: make copy_pte_range static again
Commit 71e3aac0724f ("thp: transparent hugepage core") adds copy_pte_range
prototype to huge_mm.h. I'm not sure why (or if) this function have been
used outside of memory.c, but it currently isn't. This patch makes
copy_pte_range() static again.
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 3609892f1a79..9c0cf0c09ceb 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -884,7 +884,7 @@ out_set_pte: return 0; } -int copy_pte_range(struct mm_struct *dst_mm, struct mm_struct *src_mm, +static int copy_pte_range(struct mm_struct *dst_mm, struct mm_struct *src_mm, pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, unsigned long addr, unsigned long end) { |