From: Dave Jones <davej@redhat.com>
To: Alex Chiang <achiang@hp.com>
Cc: linux-kernel@vger.kernel.org, cpufreq@vger.kernel.org
Subject: Re: [PATCH 1/3] [CPUFREQ] make ACPI P-state cpufreq drivers depend on CONFIG_CPU_FREQ
Date: Tue, 17 Nov 2009 19:08:18 -0500 [thread overview]
Message-ID: <20091118000817.GA1855@redhat.com> (raw)
In-Reply-To: <20091117221120.25933.46929.stgit@bob.kio>
> diff --git a/arch/x86/kernel/cpu/cpufreq/Kconfig b/arch/x86/kernel/cpu/cpufreq/Kconfig
> index f138c6c..ca40a9f 100644
> --- a/arch/x86/kernel/cpu/cpufreq/Kconfig
> +++ b/arch/x86/kernel/cpu/cpufreq/Kconfig
> @@ -13,7 +13,7 @@ comment "CPUFreq processor drivers"
> config X86_ACPI_CPUFREQ
> tristate "ACPI Processor P-States driver"
> select CPU_FREQ_TABLE
> - depends on ACPI_PROCESSOR
> + depends on ACPI_PROCESSOR && CPU_FREQ
> help
> This driver adds a CPUFreq driver which utilizes the ACPI
> Processor Performance States.
> @@ -69,7 +69,7 @@ config X86_POWERNOW_K6
> config X86_POWERNOW_K7
> tristate "AMD Mobile Athlon/Duron PowerNow!"
> select CPU_FREQ_TABLE
> - depends on X86_32
> + depends on X86_32 && CPU_FREQ
> help
> This adds the CPUFreq driver for mobile AMD K7 mobile processors.
>
> @@ -87,7 +87,7 @@ config X86_POWERNOW_K7_ACPI
> config X86_POWERNOW_K8
> tristate "AMD Opteron/Athlon64 PowerNow!"
> select CPU_FREQ_TABLE
> - depends on ACPI && ACPI_PROCESSOR
> + depends on ACPI && ACPI_PROCESSOR && CPU_FREQ
> help
> This adds the CPUFreq driver for K8/K10 Opteron/Athlon64 processors.
This doesn't make sense, as this whole file is guarded with
if CPU_FREQ
...
endif
The dependancy has to be true, or you wouldn't ever see these options.
Dave
next prev parent reply other threads:[~2009-11-18 4:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-17 22:11 [PATCH 0/3] cpufreq / linux-next build fixes Alex Chiang
2009-11-17 22:11 ` [PATCH 1/3] [CPUFREQ] make ACPI P-state cpufreq drivers depend on CONFIG_CPU_FREQ Alex Chiang
2009-11-18 0:08 ` Dave Jones [this message]
2009-11-18 4:17 ` Alex Chiang
2009-11-17 22:11 ` [PATCH 2/3] ACPI: do not define acpi_processor_get_bios_limit() in processor.h Alex Chiang
2009-11-18 0:09 ` Dave Jones
2009-11-19 11:31 ` [PATCH] ACPI: do not define acpi_processor_get_bios_limit() in processor.h (snd ver) Thomas Renninger
2009-11-19 18:08 ` Alex Chiang
2009-11-17 22:11 ` [PATCH 3/3] [CPUFREQ] make internal cpufreq_add_dev_* static Alex Chiang
2009-11-18 0:29 ` Dave Jones
2009-11-18 3:27 ` [PATCH v2] " Alex Chiang
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=20091118000817.GA1855@redhat.com \
--to=davej@redhat.com \
--cc=achiang@hp.com \
--cc=cpufreq@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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.