Re: 2.6.27-rc4-git1: Reported regressions from 2.6.26

H. Peter Anvin
2008-08-25T00:16:57Z

Linus Torvalds wrote:
>>
> diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
> index 46af716..9bed5ca 100644
> --- a/arch/x86/kernel/tsc.c
> +++ b/arch/x86/kernel/tsc.c
> @@ -325,6 +325,10 @@ static struct notifier_block time_cpufreq_notifier_block = {
>
> static int __init cpufreq_tsc(void)
> {
> + if (!cpu_has_tsc)
> + return 0;
> + if (boot_cpu_has(X86_FEATURE_CONSTANT_TSC))
> + return 0;
> cpufreq_register_notifier(&time_cpufreq_notifier_block,
> CPUFREQ_TRANSITION_NOTIFIER);
> return 0;

I added this patch to x86/urgent.

-hpa