lkml.org 
[lkml]   [2002]   [Oct]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date14 Oct 2002 05:45:27 -0000
SubjectTiny patch for CPU frequency scaling.
From krishna_lk@2bit ...
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/

\
 
 \ /
  Last update: 2005-03-22 12:30    [from the cache]
©2003-2008