aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index bd22bd895299..e53f39cd67db 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -2386,8 +2386,10 @@ again:
2386 /* 2386 /*
2387 * HWPoisoned hugepage is already unmapped and dropped reference 2387 * HWPoisoned hugepage is already unmapped and dropped reference
2388 */ 2388 */
2389 if (unlikely(is_hugetlb_entry_hwpoisoned(pte))) 2389 if (unlikely(is_hugetlb_entry_hwpoisoned(pte))) {
2390 pte_clear(mm, address, ptep);
2390 continue; 2391 continue;
2392 }
2391 2393
2392 page = pte_page(pte); 2394 page = pte_page(pte);
2393 /* 2395 /*