hugetlb: restrict hugepage_migration_support() to x86_64
[platform/kernel/linux-rpi.git] / arch / x86 / mm / hugetlbpage.c
index 8c9f647..8b977eb 100644 (file)
@@ -58,11 +58,6 @@ follow_huge_pmd(struct mm_struct *mm, unsigned long address,
 {
        return NULL;
 }
-
-int pmd_huge_support(void)
-{
-       return 0;
-}
 #else
 
 struct page *
@@ -80,11 +75,6 @@ int pud_huge(pud_t pud)
 {
        return !!(pud_val(pud) & _PAGE_PSE);
 }
-
-int pmd_huge_support(void)
-{
-       return 1;
-}
 #endif
 
 #ifdef CONFIG_HUGETLB_PAGE