Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31253
b: refs/heads/master
c: beab375
h: refs/heads/master
i:
  31251: 30e0067
v: v3
  • Loading branch information
Ralf Baechle committed Jun 29, 2006
1 parent 8ec0cd7 commit 8cbd3db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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: 92c7b62fd1a6898fbfaf1db790ba4e70e90f39d2
refs/heads/master: beab375a48f0cd90eb08f04e2c1dad67b9e6d3f8
11 changes: 8 additions & 3 deletions trunk/arch/mips/mm/c-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,10 +1009,15 @@ static void __init probe_pcache(void)
break;
case CPU_24K:
case CPU_34K:
if (!(read_c0_config7() & (1 << 16)))
if ((read_c0_config7() & (1 << 16))) {
/* effectively physically indexed dcache,
thus no virtual aliases. */
c->dcache.flags |= MIPS_CACHE_PINDEX;
break;
}
default:
if (c->dcache.waysize > PAGE_SIZE)
c->dcache.flags |= MIPS_CACHE_ALIASES;
if (c->dcache.waysize > PAGE_SIZE)
c->dcache.flags |= MIPS_CACHE_ALIASES;
}

switch (c->cputype) {
Expand Down

0 comments on commit 8cbd3db

Please sign in to comment.