Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85562
b: refs/heads/master
c: a602cc0
h: refs/heads/master
v: v3
  • Loading branch information
Hideo Saito authored and Paul Mundt committed Feb 14, 2008
1 parent 8f12a96 commit e451935
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 123100cf4fff3e8ffa375df2c74c7f2cb29ab17a
refs/heads/master: a602cc05f8fc849023e72e2857bd842f0104f648
8 changes: 8 additions & 0 deletions trunk/arch/sh/mm/fault_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,14 @@ asmlinkage int __kprobes __do_page_fault(struct pt_regs *regs,
entry = pte_mkdirty(entry);
entry = pte_mkyoung(entry);

#if defined(CONFIG_CPU_SH4) && !defined(CONFIG_SMP)
/*
* ITLB is not affected by "ldtlb" instruction.
* So, we need to flush the entry by ourselves.
*/
local_flush_tlb_one(get_asid(), address & PAGE_MASK);
#endif

set_pte(pte, entry);
update_mmu_cache(NULL, address, entry);

Expand Down

0 comments on commit e451935

Please sign in to comment.