]> git.baikalelectronics.ru Git - kernel.git/commit
mm: make copy_pte_range static again
authorJerome Marchand <jmarchan@redhat.com>
Wed, 6 Aug 2014 23:06:56 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:19 +0000 (18:01 -0700)
commit4b5cf45b5f1ca2fe447188c4f8e222d3c53fe68d
treeedf7f25dcb13287e0e34908f76fc6096619cf2c2
parent35bc9f384eb2509fbb49d052604296d88a9953be
mm: make copy_pte_range static again

Commit cb4ba1d339ac ("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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/huge_mm.h
mm/memory.c