summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/hugetlb.h
diff options
context:
space:
mode:
authorZhang Zhen <zhenzhang.zhang@huawei.com>2015-06-25 01:56:25 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 02:49:41 +0200
commita67a31fa308a9032ead31b0501dafdb44ccf5a12 (patch)
treec56546d055a983dbb404d571012bbf99505ab696 /arch/arm64/include/asm/hugetlb.h
parentpowerpc/mm: tracking vDSO remap (diff)
downloadlinux-a67a31fa308a9032ead31b0501dafdb44ccf5a12.tar.xz
linux-a67a31fa308a9032ead31b0501dafdb44ccf5a12.zip
mm/hugetlb: reduce arch dependent code about hugetlb_prefault_arch_hook
Currently we have many duplicates in definitions of hugetlb_prefault_arch_hook. In all architectures this function is empty. Signed-off-by: Zhang Zhen <zhenzhang.zhang@huawei.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm64/include/asm/hugetlb.h')
-rw-r--r--arch/arm64/include/asm/hugetlb.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm64/include/asm/hugetlb.h b/arch/arm64/include/asm/hugetlb.h
index 5b7ca8ace95f..734c17e89e94 100644
--- a/arch/arm64/include/asm/hugetlb.h
+++ b/arch/arm64/include/asm/hugetlb.h
@@ -86,10 +86,6 @@ static inline int prepare_hugepage_range(struct file *file,
return 0;
}
-static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm)
-{
-}
-
static inline int huge_pte_none(pte_t pte)
{
return pte_none(pte);