Fixed a bug when detecting Intel CPU.

This commit is contained in:
Xianyi Zhang 2011-05-03 17:19:36 +08:00
parent fcf9b82f14
commit 1acf5ace29
1 changed files with 17 additions and 16 deletions

View File

@ -1315,11 +1315,12 @@ int get_coretype(void){
return CORE_NEHALEM; return CORE_NEHALEM;
} }
break; break;
} }
break;
case 15: case 15:
if (model <= 0x2) return CORE_NORTHWOOD; if (model <= 0x2) return CORE_NORTHWOOD;
return CORE_PRESCOTT; else return CORE_PRESCOTT;
} }
} }