diff options
author | Jan Beulich <jbeulich@novell.com> | 2008-10-16 01:01:38 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:31 -0400 |
commit | 9ba16087d9f996a93ab6f4453a52a4b24bc1f25c (patch) | |
tree | 98a292c556b646aec40ce137b1ec689b3469f120 /mm | |
parent | a25d644fc0e232f242d1f3baa63c149c42536ff0 (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 'mm')
-rw-r--r-- | mm/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 0bd9c2dbb2a0..5585f1293593 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -101,7 +101,7 @@ config HAVE_MEMORY_PRESENT | |||
101 | # with gcc 3.4 and later. | 101 | # with gcc 3.4 and later. |
102 | # | 102 | # |
103 | config SPARSEMEM_STATIC | 103 | config SPARSEMEM_STATIC |
104 | def_bool n | 104 | bool |
105 | 105 | ||
106 | # | 106 | # |
107 | # Architecture platforms which require a two level mem_section in SPARSEMEM | 107 | # Architecture platforms which require a two level mem_section in SPARSEMEM |
@@ -113,7 +113,7 @@ config SPARSEMEM_EXTREME | |||
113 | depends on SPARSEMEM && !SPARSEMEM_STATIC | 113 | depends on SPARSEMEM && !SPARSEMEM_STATIC |
114 | 114 | ||
115 | config SPARSEMEM_VMEMMAP_ENABLE | 115 | config SPARSEMEM_VMEMMAP_ENABLE |
116 | def_bool n | 116 | bool |
117 | 117 | ||
118 | config SPARSEMEM_VMEMMAP | 118 | config SPARSEMEM_VMEMMAP |
119 | bool "Sparse Memory virtual memmap" | 119 | bool "Sparse Memory virtual memmap" |