diff options
author | Zhang Zhen <zhenzhang.zhang@huawei.com> | 2015-06-24 19:56:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 20:49:41 -0400 |
commit | a67a31fa308a9032ead31b0501dafdb44ccf5a12 (patch) | |
tree | c56546d055a983dbb404d571012bbf99505ab696 /arch/sparc | |
parent | 83d3f0e90c6c8f833e3da91917c243a916fda69e (diff) |
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/sparc')
-rw-r--r-- | arch/sparc/include/asm/hugetlb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/hugetlb.h b/arch/sparc/include/asm/hugetlb.h index e4cab465b81f..3130d7636312 100644 --- a/arch/sparc/include/asm/hugetlb.h +++ b/arch/sparc/include/asm/hugetlb.h | |||
@@ -11,10 +11,6 @@ void set_huge_pte_at(struct mm_struct *mm, unsigned long addr, | |||
11 | pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, | 11 | pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, |
12 | pte_t *ptep); | 12 | pte_t *ptep); |
13 | 13 | ||
14 | static inline void hugetlb_prefault_arch_hook(struct mm_struct *mm) | ||
15 | { | ||
16 | } | ||
17 | |||
18 | static inline int is_hugepage_only_range(struct mm_struct *mm, | 14 | static inline int is_hugepage_only_range(struct mm_struct *mm, |
19 | unsigned long addr, | 15 | unsigned long addr, |
20 | unsigned long len) { | 16 | unsigned long len) { |