projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hugetlb: restrict hugepage_migration_support() to x86_64
[platform/kernel/linux-rpi.git]
/
arch
/
x86
/
mm
/
hugetlbpage.c
diff --git
a/arch/x86/mm/hugetlbpage.c
b/arch/x86/mm/hugetlbpage.c
index
8c9f647
..
8b977eb
100644
(file)
--- a/
arch/x86/mm/hugetlbpage.c
+++ b/
arch/x86/mm/hugetlbpage.c
@@
-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