Tiny patch for CPU frequency scaling.

From: krishna_lk@2bit.com
Date: Mon Oct 14 2002 - 00:45:27 EST


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:

--- linux-2.5.42/arch/i386/kernel/timers/timer_tsc.c 2002-10-14 14:02:42.000000000 +0900
+++ linux/arch/i386/kernel/timers/timer_tsc.c 2002-10-14 13:35:40.000000000 +0900
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:48 EST