sh: Fix multiple UTLB hit on UP SH-4.

This acts as a reversion of 1c6b2ca5e0939bf8b5d1a11f1646f25189ecd447 in
the case of UP SH-4, where we still have the risk of a multiple hit
between the slow and fast paths. As seen on SH7780.

Signed-off-by: Hideo Saito <saito@densan.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by Hideo Saito and committed by Paul Mundt a602cc05 123100cf

+8
+8
arch/sh/mm/fault_32.c
··· 299 entry = pte_mkdirty(entry); 300 entry = pte_mkyoung(entry); 301 302 set_pte(pte, entry); 303 update_mmu_cache(NULL, address, entry); 304
··· 299 entry = pte_mkdirty(entry); 300 entry = pte_mkyoung(entry); 301 302 + #if defined(CONFIG_CPU_SH4) && !defined(CONFIG_SMP) 303 + /* 304 + * ITLB is not affected by "ldtlb" instruction. 305 + * So, we need to flush the entry by ourselves. 306 + */ 307 + local_flush_tlb_one(get_asid(), address & PAGE_MASK); 308 + #endif 309 + 310 set_pte(pte, entry); 311 update_mmu_cache(NULL, address, entry); 312