Skip to content

Commit f0fc724

Browse files
authored
Merge pull request #4792 from martin-frbg/issue4790
Fix core assignment in cpu detection for Intel family 15
2 parents 362856f + e706bc1 commit f0fc724

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpuid_x86.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2392,10 +2392,10 @@ int get_coretype(void){
23922392
else
23932393
return CORE_NEHALEM;
23942394
}
2395-
case 15:
2396-
if (model <= 0x2) return CORE_NORTHWOOD;
2397-
else return CORE_PRESCOTT;
23982395
}
2396+
case 15:
2397+
if (model <= 0x2) return CORE_NORTHWOOD;
2398+
else return CORE_PRESCOTT;
23992399
}
24002400
}
24012401

0 commit comments

Comments
 (0)