From ea31a6b203710c03d1fc025377a19572e620588a Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Wed, 20 Oct 2010 20:05:42 -0700 Subject: [PATCH] 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-format-patch failed