diff options
Diffstat (limited to 'mm/pgtable-generic.c')
-rw-r--r-- | mm/pgtable-generic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/pgtable-generic.c b/mm/pgtable-generic.c index 4b8ad760dde3..c25f94b33811 100644 --- a/mm/pgtable-generic.c +++ b/mm/pgtable-generic.c | |||
@@ -193,8 +193,6 @@ void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, | |||
193 | pmd_t *pmdp) | 193 | pmd_t *pmdp) |
194 | { | 194 | { |
195 | pmd_t entry = *pmdp; | 195 | pmd_t entry = *pmdp; |
196 | if (pmd_protnone(entry)) | ||
197 | entry = pmd_mknonnuma(entry); | ||
198 | set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(entry)); | 196 | set_pmd_at(vma->vm_mm, address, pmdp, pmd_mknotpresent(entry)); |
199 | flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); | 197 | flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE); |
200 | } | 198 | } |