hugetlb: restrict hugepage_migration_support() to x86_64
[cascardo/linux.git] / arch / powerpc / mm / hugetlbpage.c
index eb92365..7e70ae9 100644 (file)
@@ -86,11 +86,6 @@ int pgd_huge(pgd_t pgd)
         */
        return ((pgd_val(pgd) & 0x3) != 0x0);
 }
-
-int pmd_huge_support(void)
-{
-       return 1;
-}
 #else
 int pmd_huge(pmd_t pmd)
 {
@@ -106,11 +101,6 @@ int pgd_huge(pgd_t pgd)
 {
        return 0;
 }
-
-int pmd_huge_support(void)
-{
-       return 0;
-}
 #endif
 
 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr)