linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: krishna_lk@2bit.com
To: linux-kernel@vger.kernel.org
Subject: Tiny patch for CPU frequency scaling.
Date: 14 Oct 2002 05:45:27 -0000	[thread overview]
Message-ID: <20021014054527.24939.qmail@mail63.csoft.net> (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>


-Krishna

                 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20021014054527.24939.qmail@mail63.csoft.net \
    --to=krishna_lk@2bit.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: Tiny patch for CPU frequency scaling.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).