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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user