From: Kevin Cernekee Date: Thu, 21 Oct 2010 03:05:42 +0000 (-0700) Subject: MIPS: Honor L2 bypass bit X-Git-Tag: v2.6.37-rc1~38^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea31a6b203710c03d1fc025377a19572e620588a;p=pandora-kernel.git MIPS: Honor L2 bypass bit On many of the newer MIPS32 cores, CP0 CONFIG2 bit 12 (L2B) indicates that the L2 cache is disabled and therefore Linux should not attempt to use it. [Ralf: Moved the code added by Kevin's original patch into a separate function that can easily be replaced for platforms that need more a different probe.] Signed-off-by: Kevin Cernekee Cc: linux-mips@linux-mips.org> Cc: Patchwork: https://patchwork.linux-mips.org/patch/1723/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed