--- /dev/null
+From 1118dce773d84f39ebd51a9fe7261f9169cb056e Mon Sep 17 00:00:00 2001
+From: Richard Weinberger <richard@nod.at>
+Date: Thu, 16 Jun 2016 23:26:14 +0200
+Subject: mm: Export migrate_page_move_mapping and migrate_page_copy
+
+From: Richard Weinberger <richard@nod.at>
+
+commit 1118dce773d84f39ebd51a9fe7261f9169cb056e upstream.
+
+Export these symbols such that UBIFS can implement
+->migratepage.
+
+Signed-off-by: Richard Weinberger <richard@nod.at>
+Acked-by: Christoph Hellwig <hch@lst.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ mm/migrate.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/mm/migrate.c
++++ b/mm/migrate.c
+@@ -429,6 +429,7 @@ int migrate_page_move_mapping(struct add
+
+ return MIGRATEPAGE_SUCCESS;
+ }
++EXPORT_SYMBOL(migrate_page_move_mapping);
+
+ /*
+ * The expected number of remaining references is the same as that
+@@ -579,6 +580,7 @@ void migrate_page_copy(struct page *newp
+ if (PageWriteback(newpage))
+ end_page_writeback(newpage);
+ }
++EXPORT_SYMBOL(migrate_page_copy);
+
+ /************************************************************
+ * Migration functions
arm-8578-1-mm-ensure-pmd_present-only-checks-the-valid-bit.patch
arm-8579-1-mm-fix-definition-of-pmd_mknotpresent.patch
mips-kvm-fix-modular-kvm-under-qemu.patch
+mm-export-migrate_page_move_mapping-and-migrate_page_copy.patch
ubifs-implement-migratepage.patch