diff options
Diffstat (limited to 'arch/s390/mm/hugetlbpage.c')
-rw-r--r-- | arch/s390/mm/hugetlbpage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/s390/mm/hugetlbpage.c b/arch/s390/mm/hugetlbpage.c index d261c62e40a6..0727a55d87d9 100644 --- a/arch/s390/mm/hugetlbpage.c +++ b/arch/s390/mm/hugetlbpage.c | |||
@@ -123,10 +123,7 @@ pte_t huge_ptep_get_and_clear(struct mm_struct *mm, | |||
123 | pmd_t *pmdp = (pmd_t *) ptep; | 123 | pmd_t *pmdp = (pmd_t *) ptep; |
124 | pte_t pte = huge_ptep_get(ptep); | 124 | pte_t pte = huge_ptep_get(ptep); |
125 | 125 | ||
126 | if (MACHINE_HAS_IDTE) | 126 | pmdp_flush_direct(mm, addr, pmdp); |
127 | __pmd_idte(addr, pmdp); | ||
128 | else | ||
129 | __pmd_csp(pmdp); | ||
130 | pmd_val(*pmdp) = _SEGMENT_ENTRY_EMPTY; | 127 | pmd_val(*pmdp) = _SEGMENT_ENTRY_EMPTY; |
131 | return pte; | 128 | return pte; |
132 | } | 129 | } |