]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/arm64/mm/hugetlbpage.c
mm/hugetlb: reduce arch dependent code about huge_pmd_unshare
[mirror_ubuntu-zesty-kernel.git] / arch / arm64 / mm / hugetlbpage.c
index 2de9d2e59d96808325829a37bca559c2ddb48a1c..cccc4af87a0372976e25e16667143892562b3457 100644 (file)
 #include <asm/tlbflush.h>
 #include <asm/pgalloc.h>
 
-#ifndef CONFIG_ARCH_WANT_HUGE_PMD_SHARE
-int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep)
-{
-       return 0;
-}
-#endif
-
 int pmd_huge(pmd_t pmd)
 {
        return !(pmd_val(pmd) & PMD_TABLE_BIT);