diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/mm/fault.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sh/mm/fault.c b/arch/sh/mm/fault.c index f33cedb353fc..c56a5fabcd0f 100644 --- a/arch/sh/mm/fault.c +++ b/arch/sh/mm/fault.c | |||
@@ -304,14 +304,6 @@ asmlinkage int __kprobes __do_page_fault(struct pt_regs *regs, | |||
304 | entry = pte_mkdirty(entry); | 304 | entry = pte_mkdirty(entry); |
305 | entry = pte_mkyoung(entry); | 305 | entry = pte_mkyoung(entry); |
306 | 306 | ||
307 | #ifdef CONFIG_CPU_SH4 | ||
308 | /* | ||
309 | * ITLB is not affected by "ldtlb" instruction. | ||
310 | * So, we need to flush the entry by ourselves. | ||
311 | */ | ||
312 | local_flush_tlb_one(get_asid(), address & PAGE_MASK); | ||
313 | #endif | ||
314 | |||
315 | set_pte(pte, entry); | 307 | set_pte(pte, entry); |
316 | update_mmu_cache(NULL, address, entry); | 308 | update_mmu_cache(NULL, address, entry); |
317 | ret = 0; | 309 | ret = 0; |