archive mirror
 help / color / mirror / Atom feed
Subject: Tiny patch for CPU frequency scaling.
Date: 14 Oct 2002 05:45:27 -0000	[thread overview]
Message-ID: <> (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:

--- 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>


                 reply	other threads:[~2002-10-14  5:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: Tiny patch for CPU frequency scaling.' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).