[PATCH] config menu: move ZONE_DMA under a menu

From: Randy Dunlap
Date: Mon Jan 16 2012 - 13:59:02 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Move the ZONE_DMA kconfig symbol under a menu item instead
of having it listed before everything else in
"make {xconfig | gconfig | nconfig | menuconfig}".

This drops the first line of the top-level kernel config menu
(in 3.2) below and moves it under "Processor type and features".

[*] DMA memory allocation support
General setup --->
[*] Enable loadable module support --->
[*] Enable the block layer --->
Processor type and features --->
Power management and ACPI options --->
Bus options (PCI etc.) --->
Executable file formats / Emulations --->


Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Cc: David Rientjes <rientjes@xxxxxxxxxx>
---
arch/x86/Kconfig | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

--- lnx-32.orig/arch/x86/Kconfig
+++ lnx-32/arch/x86/Kconfig
@@ -118,16 +118,6 @@ config HAVE_LATENCYTOP_SUPPORT
config MMU
def_bool y

-config ZONE_DMA
- bool "DMA memory allocation support" if EXPERT
- default y
- help
- DMA memory allocation support allows devices with less than 32-bit
- addressing to allocate within the first 16MB of address space.
- Disable if no such devices will be used.
-
- If unsure, say Y.
-
config SBUS
bool

@@ -254,6 +244,16 @@ source "kernel/Kconfig.freezer"

menu "Processor type and features"

+config ZONE_DMA
+ bool "DMA memory allocation support" if EXPERT
+ default y
+ help
+ DMA memory allocation support allows devices with less than 32-bit
+ addressing to allocate within the first 16MB of address space.
+ Disable if no such devices will be used.
+
+ If unsure, say Y.
+
source "kernel/time/Kconfig"

config SMP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/