aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-10-16 01:01:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:31 -0400
commit9ba16087d9f996a93ab6f4453a52a4b24bc1f25c (patch)
tree98a292c556b646aec40ce137b1ec689b3469f120 /arch/x86/Kconfig
parenta25d644fc0e232f242d1f3baa63c149c42536ff0 (diff)
Kconfig: eliminate "def_bool n" constructs
Using "def_bool n" is pointless, simply using bool here appears more appropriate. Further, retaining such options that don't have a prompt and aren't selected by anything seems also at least questionable. Signed-off-by: Jan Beulich <jbeulich@novell.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Tony Luck <tony.luck@intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig23
1 files changed, 5 insertions, 18 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index f65c2744d573..7ccb6e60e60c 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -39,10 +39,6 @@ config ARCH_DEFCONFIG
39 default "arch/x86/configs/i386_defconfig" if X86_32 39 default "arch/x86/configs/i386_defconfig" if X86_32
40 default "arch/x86/configs/x86_64_defconfig" if X86_64 40 default "arch/x86/configs/x86_64_defconfig" if X86_64
41 41
42
43config GENERIC_LOCKBREAK
44 def_bool n
45
46config GENERIC_TIME 42config GENERIC_TIME
47 def_bool y 43 def_bool y
48 44
@@ -95,7 +91,7 @@ config GENERIC_HWEIGHT
95 def_bool y 91 def_bool y
96 92
97config GENERIC_GPIO 93config GENERIC_GPIO
98 def_bool n 94 bool
99 95
100config ARCH_MAY_HAVE_PC_FDC 96config ARCH_MAY_HAVE_PC_FDC
101 def_bool y 97 def_bool y
@@ -106,12 +102,6 @@ config RWSEM_GENERIC_SPINLOCK
106config RWSEM_XCHGADD_ALGORITHM 102config RWSEM_XCHGADD_ALGORITHM
107 def_bool X86_XADD 103 def_bool X86_XADD
108 104
109config ARCH_HAS_ILOG2_U32
110 def_bool n
111
112config ARCH_HAS_ILOG2_U64
113 def_bool n
114
115config ARCH_HAS_CPU_IDLE_WAIT 105config ARCH_HAS_CPU_IDLE_WAIT
116 def_bool y 106 def_bool y
117 107
@@ -758,9 +748,8 @@ config I8K
758 Say N otherwise. 748 Say N otherwise.
759 749
760config X86_REBOOTFIXUPS 750config X86_REBOOTFIXUPS
761 def_bool n 751 bool "Enable X86 board specific fixups for reboot"
762 prompt "Enable X86 board specific fixups for reboot" 752 depends on X86_32
763 depends on X86_32 && X86
764 ---help--- 753 ---help---
765 This enables chipset and/or board specific fixups to be done 754 This enables chipset and/or board specific fixups to be done
766 in order to get reboot to work correctly. This is only needed on 755 in order to get reboot to work correctly. This is only needed on
@@ -944,8 +933,7 @@ config HIGHMEM
944 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G) 933 depends on X86_32 && (HIGHMEM64G || HIGHMEM4G)
945 934
946config X86_PAE 935config X86_PAE
947 def_bool n 936 bool "PAE (Physical Address Extension) Support"
948 prompt "PAE (Physical Address Extension) Support"
949 depends on X86_32 && !HIGHMEM4G 937 depends on X86_32 && !HIGHMEM4G
950 select RESOURCES_64BIT 938 select RESOURCES_64BIT
951 help 939 help
@@ -1238,8 +1226,7 @@ config X86_PAT
1238 If unsure, say Y. 1226 If unsure, say Y.
1239 1227
1240config EFI 1228config EFI
1241 def_bool n 1229 bool "EFI runtime service support"
1242 prompt "EFI runtime service support"
1243 depends on ACPI 1230 depends on ACPI
1244 ---help--- 1231 ---help---
1245 This enables the kernel to use EFI runtime services that are 1232 This enables the kernel to use EFI runtime services that are