Merge pull request #3630 from martin-frbg/fixpr3629

Fix compilation of cpuid_riscv
This commit is contained in:
Martin Kroeker 2022-05-20 06:37:37 +02:00 committed by GitHub
commit faf58d2b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ int detect(void){
fclose(infile); 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_C910V;
return CPU_GENERIC; return CPU_GENERIC;