Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312119
b: refs/heads/master
c: dc34b05
h: refs/heads/master
i:
  312117: 9bc9331
  312115: 791efed
  312111: 8037370
v: v3
  • Loading branch information
Douglas Leung authored and Ralf Baechle committed Jul 19, 2012
1 parent f2a83af commit 8afdd40
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c022630633624a75b3b58f43dd3c6cc896a56cff
refs/heads/master: dc34b05fea0cc9a869863b929f37f1e8ce30edf4
4 changes: 2 additions & 2 deletions trunk/arch/mips/mm/c-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ static void __cpuinit probe_pcache(void)
c->icache.linesz = 2 << lsize;
else
c->icache.linesz = lsize;
c->icache.sets = 64 << ((config1 >> 22) & 7);
c->icache.sets = 32 << (((config1 >> 22) + 1) & 7);
c->icache.ways = 1 + ((config1 >> 16) & 7);

icache_size = c->icache.sets *
Expand All @@ -997,7 +997,7 @@ static void __cpuinit probe_pcache(void)
c->dcache.linesz = 2 << lsize;
else
c->dcache.linesz= lsize;
c->dcache.sets = 64 << ((config1 >> 13) & 7);
c->dcache.sets = 32 << (((config1 >> 13) + 1) & 7);
c->dcache.ways = 1 + ((config1 >> 7) & 7);

dcache_size = c->dcache.sets *
Expand Down

0 comments on commit 8afdd40

Please sign in to comment.