Skip to content

Commit 514a3d7

Browse files
authored
Merge pull request #2798 from kadler/aix-cpuid
Fix compile error on AIX cpuid detection
2 parents 5c6c2cd + 085aae8 commit 514a3d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpuid_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ int detect(void){
145145
if (implementation >= 0x40000u) return CPUTYPE_POWER10;
146146
else if (implementation & 0x20000) return CPUTYPE_POWER9;
147147
else if (implementation & 0x10000) return CPUTYPE_POWER8;
148-
else if (implementation & 0x08000) return CPUTYPE_POWER7; // POWER 7
148+
else if (implementation & 0x08000) return CPUTYPE_POWER6; // POWER 7
149149
else if (implementation & 0x04000) return CPUTYPE_POWER6;
150150
else if (implementation & 0x02000) return CPUTYPE_POWER5;
151151
else if (implementation & 0x01000) return CPUTYPE_POWER4; // MPC7450

0 commit comments

Comments
 (0)