cpufreq: compile fix for !CONFIG_CPU_FREQ
PATCH 1/1 cpufreq: compile fix for !CONFIG_CPU_FREQ
This patch depends on the x86-loops-per-jiffy notifier patch sent yesterday.
arch/i386/kernel/cpu/common.c +2 -0
@@ -387,9 +387,11 @@for ( i =0 ; i <NCAPINTS ; i++ ) boot_cpu_data.x86_capability[i] &= c->x86_capability[i]; } +#ifdef CONFIG_CPU_FREQ if (c == &boot_cpu_data) {cpufreq_register_notifier (&loops_per_jiffy_cpufreq_notifier_block,CPUFREQ_TRANSITION_NOTIFIER ); } +#endif printk(KERN_DEBUG "CPU: Common caps: %08lx %08lx %08lx %08lx\n", boot_cpu_data.x86_capability[0],