Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90940
b: refs/heads/master
c: 440fc17
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Apr 18, 2008
1 parent c5e9bed commit 8827a55
Show file tree
Hide file tree
Showing 2 changed files with 7 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: e5a4c65bef19366112ba002bc06d87450f02ad74
refs/heads/master: 440fc172ae333c52c458401fe059afcc6e91eebf
6 changes: 6 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ int __init detect_cpu_and_cache_system(void)
* SH-4A's have an optional PIPT L2.
*/
if (boot_cpu_data.flags & CPU_HAS_L2_CACHE) {
/* Bug if we can't decode the L2 info */
BUG_ON(!(cvr & 0xf));

/* Silicon and specifications have clearly never met.. */
cvr ^= 0xf;

/*
* Size calculation is much more sensible
* than it is for the L1.
Expand Down

0 comments on commit 8827a55

Please sign in to comment.