* Andreas Herrmann3 <[EMAIL PROTECTED]> wrote:

> Fix cpu MHz reporting for AMD family 0x11 when powernow-k8 is 
> disabled.
> 
> Just adhere to the CONSTANT_TSC feature bit for AMD CPUs when deciding 
> whether cpu_khz needs calibration. The additional check for CPU family 
> is not needed and prevents calibration for future CPUs.

>       cpu_khz = tsc_khz;
>       if (cpu_has(&boot_cpu_data, X86_FEATURE_CONSTANT_TSC) &&
> -             boot_cpu_data.x86_vendor == X86_VENDOR_AMD &&
> -             boot_cpu_data.x86 == 16)
> +             (boot_cpu_data.x86_vendor == X86_VENDOR_AMD))
>               cpu_khz = calculate_cpu_khz();

thanks Andreas, applied!

        Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to