X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/b0d623f7f2ae71ed96e60569f61f9a9a27016e80..7e4a7d3939db04e70062ae6c7bf24b8c8b2f5a7c:/osfmk/i386/tsc.c diff --git a/osfmk/i386/tsc.c b/osfmk/i386/tsc.c index 6744a9097..0a7f882a3 100644 --- a/osfmk/i386/tsc.c +++ b/osfmk/i386/tsc.c @@ -142,13 +142,8 @@ tsc_init(void) */ busFreq = EFI_FSB_frequency(); - if (cpuid_info()->cpuid_family != CPU_FAMILY_PENTIUM_M) { - panic("tsc_init: unknown CPU family: 0x%X\n", - cpuid_info()->cpuid_family); - } - - switch (cpuid_info()->cpuid_model) { - case CPUID_MODEL_NEHALEM: { + switch (cpuid_cpufamily()) { + case CPUFAMILY_INTEL_NEHALEM: { uint64_t cpu_mhz; uint64_t msr_flex_ratio; uint64_t msr_platform_info;