From: Paul Mundt Date: Mon, 1 Jun 2009 10:38:41 +0000 (+0900) Subject: sh: Tidy up the optional L2 probing, wire it up for SH7786. X-Git-Tag: v2.6.31-rc1~392^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7863d3f7aeae05099a38693a0a7eb7bdc7b2ab05;p=pandora-kernel.git sh: Tidy up the optional L2 probing, wire it up for SH7786. 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 --- Reading git-diff-tree failed