Merge pull request #3630 from martin-frbg/fixpr3629
Fix compilation of cpuid_riscv
This commit is contained in:
commit
faf58d2b3f
|
@ -100,7 +100,7 @@ int detect(void){
|
|||
|
||||
fclose(infile);
|
||||
|
||||
if (strstr(pmodel, check_c910_str) && strchr(p, 'v'))
|
||||
if (strstr(pmodel, check_c910_str) && strchr(pisa, 'v'))
|
||||
return CPU_C910V;
|
||||
|
||||
return CPU_GENERIC;
|
||||
|
|
Loading…
Reference in New Issue