From: James Hogan Date: Thu, 17 Sep 2015 16:49:20 +0000 (+0100) Subject: MIPS: cpu-features: Add cpu_has_ftlb X-Git-Tag: omap-for-v4.3/fixes-rc5~67^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f6f31363cb7890784458d7805140687b4de5b59;p=pandora-kernel.git MIPS: cpu-features: Add cpu_has_ftlb Add cpu_has_ftlb, which specifies that an FTLB is present in addition to the VTLB, probed based on whether Config.MT == 4 (rather than 1 for standard JTLB). This is necessary since MIPS release 6 removes Config4.MMUExtDef, so the presence of the FTLB fields in Config4 must be determined from Config.MT instead. Signed-off-by: James Hogan Cc: Markos Chandras Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11159/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed