Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78012
b: refs/heads/master
c: 161548b
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Jan 29, 2008
1 parent 66f0af9 commit e9b64b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6920df4025b426cb3c9756944a965fe9ccb30925
refs/heads/master: 161548bf3529d53398adb3451cdc781cc324fc1d
14 changes: 6 additions & 8 deletions trunk/arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,12 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
case tlb_indexed: tlbw = i_tlbwi; break;
}

if (cpu_has_mips_r2) {
i_ehb(p);
tlbw(p);
return;
}

switch (current_cpu_type()) {
case CPU_R4000PC:
case CPU_R4000SC:
Expand Down Expand Up @@ -935,14 +941,6 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l,
tlbw(p);
break;

case CPU_4KEC:
case CPU_24K:
case CPU_34K:
case CPU_74K:
i_ehb(p);
tlbw(p);
break;

case CPU_RM9000:
/*
* When the JTLB is updated by tlbwi or tlbwr, a subsequent
Expand Down

0 comments on commit e9b64b3

Please sign in to comment.