Skip to contentSkip to conversation

Tiny patch for CPU frequency scaling.

PATCH [email protected] 1 participant 1 message Oct 14, 2002

lore
Share & tools
lore
#0 lore raw

CPU frequency scaling on i386 doesn\'t compile out of the box with linux-2.5.42, due to non-inclusion of cpufreq.h in timer_tsc.c Here\'s a 1 line fix for it:

arch/i386/kernel/timers/timer_tsc.c 2002-10-14 13:35:40.000000000 +0900 renamed from arch/i386/kernel/timers/timer_tsc.c 2002-10-14 14:02:42.000000000 +0900 +1 -0
@@ -4,6 +4,7 @@
  */
 
 #include <linux/spinlock.h>
+#include <linux/cpufreq.h>
 #include <linux/init.h>
 #include <linux/timex.h>
 #include <linux/errno.h>

-Krishna