From: Adrian Bunk <bunk@stusta.de>
To: Gabriel C <nix.or.die@googlemail.com>, davej@codemonkey.org.uk
Cc: Andrew Morton <akpm@linux-foundation.org>,
Miles Lane <miles.lane@gmail.com>,
LKML <linux-kernel@vger.kernel.org>,
Thomas Renninger <trenn@suse.de>,
cpufreq@lists.linux.org.uk
Subject: [-mm patch] CPU_FREQ_GOV_PERFORMANCE must always be y
Date: Thu, 2 Aug 2007 15:48:38 +0200 [thread overview]
Message-ID: <20070802134838.GV3972@stusta.de> (raw)
In-Reply-To: <46B12516.4090006@googlemail.com>
On Thu, Aug 02, 2007 at 02:28:06AM +0200, Gabriel C wrote:
> Andrew Morton wrote:
> > On Wed, 1 Aug 2007 16:31:46 -0700
> > "Miles Lane" <miles.lane@gmail.com> wrote:
> >
> >> LD .tmp_vmlinux1
> >> drivers/built-in.o: In function `__cpufreq_governor':
> >> cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance'
> >> cpufreq.c:(.text+0xaf18a): undefined reference to `cpufreq_gov_performance'
> >> make: *** [.tmp_vmlinux1] Error 1
> >
> > One for Thomas, I expect.
>
> Is this patch :
>
> cpufreq-allow-ondemand-and-conservative-cpufreq-governors-to-be-used-as-default.patch
>
> Reverting it here fixes the error.
Possible fix below.
> Gabriel
cu
Adrian
<-- snip -->
With the 'performance' governor always as a fallback it must always be
compiled into the kernel.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/cpufreq/Kconfig | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
d7418849ec236338ec5ac74c0d66e5aaae466ffe
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 721f86f..91f7cfd 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -84,7 +84,6 @@ config CPU_FREQ_DEFAULT_GOV_USERSPACE
config CPU_FREQ_DEFAULT_GOV_ONDEMAND
bool "ondemand"
select CPU_FREQ_GOV_ONDEMAND
- select CPU_FREQ_GOV_PERFORMANCE
help
Use the CPUFreq governor 'ondemand' as default. This allows
you to get a full dynamic frequency capable system by simply
@@ -96,7 +95,6 @@ config CPU_FREQ_DEFAULT_GOV_ONDEMAND
config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
bool "conservative"
select CPU_FREQ_GOV_CONSERVATIVE
- select CPU_FREQ_GOV_PERFORMANCE
help
Use the CPUFreq governor 'conservative' as default. This allows
you to get a full dynamic frequency capable system by simply
@@ -107,7 +105,8 @@ config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
endchoice
config CPU_FREQ_GOV_PERFORMANCE
- tristate "'performance' governor"
+ tristate
+ default y
help
This cpufreq governor sets the frequency statically to the
highest available CPU frequency.
next prev parent reply other threads:[~2007-08-02 13:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 23:31 cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance' Miles Lane
2007-08-01 23:57 ` Andrew Morton
2007-08-02 0:28 ` Gabriel C
2007-08-02 13:48 ` Adrian Bunk [this message]
2007-08-02 14:38 ` [-mm patch] CPUfreq: Only check for transition latency on problematic governors Thomas Renninger
2007-08-02 14:54 ` Adrian Bunk
2007-08-02 15:24 ` Thomas Renninger
2007-08-02 11:15 ` cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance' Thomas Renninger
2007-08-02 12:04 ` Gabriel C
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=20070802134838.GV3972@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@linux-foundation.org \
--cc=cpufreq@lists.linux.org.uk \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=miles.lane@gmail.com \
--cc=nix.or.die@googlemail.com \
--cc=trenn@suse.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.