Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10977
b: refs/heads/master
c: d1e344e
h: refs/heads/master
i:
  10975: a3a4aad
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent a5d36c0 commit a2e040d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 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: 28ecca4786bd8af209ae65689faa6aeea80adba2
refs/heads/master: d1e344e500cc693139a69d29122db18190916448
12 changes: 10 additions & 2 deletions trunk/arch/mips/mm/c-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -1011,9 +1011,17 @@ static void __init probe_pcache(void)
* normally they'd suffer from aliases but magic in the hardware deals
* with that for us so we don't need to take care ourselves.
*/
if (c->cputype != CPU_R10000 && c->cputype != CPU_R12000)
switch (c->cputype) {
if (c->dcache.waysize > PAGE_SIZE)
c->dcache.flags |= MIPS_CACHE_ALIASES;

case CPU_R10000:
case CPU_R12000:
break;
case CPU_24K:
if (!(read_c0_config7() & (1 << 16)))
default:
c->dcache.flags |= MIPS_CACHE_ALIASES;
}

switch (c->cputype) {
case CPU_20KC:
Expand Down

0 comments on commit a2e040d

Please sign in to comment.