Skip to content

Commit 2852171

Browse files
authored
Merge pull request #5461 from martin-frbg/applemlinux
Fix Apple M cpu identification under Linux
2 parents 916a474 + 6798aec commit 2852171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpuid_arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ int detect(void)
346346
else if (strstr(cpu_implementer, "0x46") && strstr(cpu_part, "0x001"))
347347
return CPU_A64FX;
348348
// Apple
349-
else if (strstr(cpu_implementer, "0x61") && strstr(cpu_part, "0x022"))
349+
else if (strstr(cpu_implementer, "0x61") /* && strstr(cpu_part, "0x022")*/)
350350
return CPU_VORTEX;
351351
// Phytium
352352
else if (strstr(cpu_implementer, "0x70") && (strstr(cpu_part, "0x660") || strstr(cpu_part, "0x661")

0 commit comments

Comments
 (0)