build: convert HAS_CPUFREQ use to Kconfig

Use the Kconfig generated CONFIG_HAS_CPUFREQ defines in the code base.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Doug Goldstein authored and Jan Beulich committed 2015-12-16 17:48:14 +01:00
1 parent 56f7d5db12
commit 994ce40a91
5 files changed
+8 -2

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ config X86_64
config X86
def_bool y
select HAS_ACPI
select HAS_CPUFREQ
select HAS_IOPORTS
select HAS_NS16550
select HAS_PASSTHROUGH
-1
View File
@@ -2,7 +2,6 @@
# x86-specific definitions
HAS_NUMA := y
HAS_CPUFREQ := y
HAS_EHCI := y
HAS_KEXEC := y
HAS_GDBSX := y
+2
View File
@@ -4,6 +4,8 @@ source "drivers/acpi/Kconfig"
source "drivers/char/Kconfig"
source "drivers/cpufreq/Kconfig"
source "drivers/passthrough/Kconfig"
source "drivers/pci/Kconfig"
+1 -1
View File
@@ -1,5 +1,5 @@
subdir-y += char
subdir-$(HAS_CPUFREQ) += cpufreq
subdir-$(CONFIG_HAS_CPUFREQ) += cpufreq
subdir-$(CONFIG_HAS_PCI) += pci
subdir-$(CONFIG_HAS_PASSTHROUGH) += passthrough
subdir-$(CONFIG_HAS_ACPI) += acpi
+4
View File
@@ -0,0 +1,4 @@
# Select HAS_CPUFREQ if CPU frequency scaling is supported
config HAS_CPUFREQ
bool
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.