MIPS DSPr2: Fix compiler warning with -mdspr2

If -mdspr2 is passed to the compiler, __mips_dsp will be defined, and
__mips_dsp_rev will be >= 2, so parse_proc_cpuinfo() will not be used.
This commit is contained in:
DRC
2020-02-17 16:35:00 -06:00
parent 42d679b9fc
commit ed7cab47d9

View File

@@ -29,7 +29,7 @@
static unsigned int simd_support = ~0;
#if defined(__linux__)
#if !(defined(__MIPSEL__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2)) && defined(__linux__)
LOCAL(void)
parse_proc_cpuinfo(const char *search_string)