sh: Tidy up the optional L2 probing, wire it up for SH7786.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 1 Jun 2009 10:38:41 +0000 (19:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Jun 2009 10:38:41 +0000 (19:38 +0900)
This tidies up the L2 probing, as it may or may not be implemented on a
CPU, regardless of whether it is supported. This converts the cvr
validity checks from BUG_ON()'s to simply clearing the CPU_HAS_L2_CACHE
flag and moving on with life.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found