|
@@ -33,10 +33,7 @@ int pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address,
|
|
|
changed = !pmd_same(*(pmdp), entry);
|
|
|
if (changed) {
|
|
|
__ptep_set_access_flags(pmdp_ptep(pmdp), pmd_pte(entry));
|
|
|
- /*
|
|
|
- * Since we are not supporting SW TLB systems, we don't
|
|
|
- * have any thing similar to flush_tlb_page_nohash()
|
|
|
- */
|
|
|
+ flush_tlb_range(vma, address, address + HPAGE_PMD_SIZE);
|
|
|
}
|
|
|
return changed;
|
|
|
}
|