From: Paul Burton Date: Mon, 14 Jul 2014 09:32:14 +0000 (+0100) Subject: MIPS: detect presence of MAARs X-Git-Tag: cleanup-for-v3.18~94^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f6c52ff7225789d20c1d69883f263d502b7eda7;p=pandora-kernel.git MIPS: detect presence of MAARs Detect the presence of MAAR using the MRP bit in Config5, and record that presence using a CPU option bit. A cpu_has_maar macro will then allow code to conditionalise upon the presence of MAARs. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/7330/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed