aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-01 21:53:27 +0000
committerPaul Burton <paul.burton@mips.com>2019-10-07 09:42:41 -0700
commit59361e9975fd567a642f4ee32fd0ea662ffa7040 (patch)
tree5e9503bbcb8d004cf772ded3c41386a0b391ae95 /tools/perf/scripts/python
parentMIPS: bitops: Only use ins for bit 16 or higher (diff)
downloadlinux-59361e9975fd567a642f4ee32fd0ea662ffa7040.tar.gz
linux-59361e9975fd567a642f4ee32fd0ea662ffa7040.zip
MIPS: bitops: Use MIPS_ISA_REV, not #ifdefs
Rather than #ifdef on CONFIG_CPU_* to determine whether the ins instruction is supported we can simply check MIPS_ISA_REV to discover whether we're targeting MIPSr2 or higher. Do so in order to clean up the code. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org Cc: Huacai Chen <chenhc@lemote.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions