]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/migrate.c
powerpc/perf: Clear MMCR2 when enabling PMU
[karo-tx-linux.git] / mm / migrate.c
index 2a459675eeaba4af57a5a38dfc891049f3f93394..63f0cd5599997ef8d1a42110c1fc9ccd6d920ac1 100644 (file)
@@ -1039,7 +1039,7 @@ static int unmap_and_move_huge_page(new_page_t get_new_page,
         * tables or check whether the hugepage is pmd-based or not before
         * kicking migration.
         */
-       if (!hugepage_migration_support(page_hstate(hpage))) {
+       if (!hugepage_migration_supported(page_hstate(hpage))) {
                putback_active_hugepage(hpage);
                return -ENOSYS;
        }