diff options
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-rw-r--r-- | arch/powerpc/mm/hugetlbpage.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c index a9dbb27ca887..0ce968b00b7c 100644 --- a/arch/powerpc/mm/hugetlbpage.c +++ b/arch/powerpc/mm/hugetlbpage.c | |||
@@ -1014,12 +1014,11 @@ pte_t *__find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea, | |||
1014 | * A hugepage collapse is captured by pmd_none, because | 1014 | * A hugepage collapse is captured by pmd_none, because |
1015 | * it mark the pmd none and do a hpte invalidate. | 1015 | * it mark the pmd none and do a hpte invalidate. |
1016 | * | 1016 | * |
1017 | * A hugepage split is captured by pmd_trans_splitting | 1017 | * We don't worry about pmd_trans_splitting here, The |
1018 | * because we mark the pmd trans splitting and do a | 1018 | * caller if it needs to handle the splitting case |
1019 | * hpte invalidate | 1019 | * should check for that. |
1020 | * | ||
1021 | */ | 1020 | */ |
1022 | if (pmd_none(pmd) || pmd_trans_splitting(pmd)) | 1021 | if (pmd_none(pmd)) |
1023 | return NULL; | 1022 | return NULL; |
1024 | 1023 | ||
1025 | if (pmd_huge(pmd) || pmd_large(pmd)) { | 1024 | if (pmd_huge(pmd) || pmd_large(pmd)) { |