[2/3] mm: export numa_migrate_prep()
diff mbox

Message ID 1386140348-7854-3-git-send-email-pingfank@linux.vnet.ibm.com
State Superseded
Headers show

Commit Message

Pingfan Liu Dec. 4, 2013, 6:59 a.m. UTC
powerpc will use it in fast path.

Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
 include/linux/mm.h | 2 ++
 1 file changed, 2 insertions(+)

diff mbox

diff --git a/include/linux/mm.h b/include/linux/mm.h
index 5ab0e22..420fb77 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1092,6 +1092,8 @@  extern unsigned long change_protection(struct vm_area_struct *vma, unsigned long
 extern int mprotect_fixup(struct vm_area_struct *vma,
 			  struct vm_area_struct **pprev, unsigned long start,
 			  unsigned long end, unsigned long newflags);
+extern int numa_migrate_prep(struct page *page, struct vm_area_struct *vma,
+				unsigned long addr, int page_nid);
  * doesn't attempt to fault and will return short.