Skip to contentSkip to conversation

fix order of container subsystems in init/Kconfig

PATCH New Cedric Le Goater 1 participant 1 message Jul 25, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix order of container subsystems in init/Kconfig

some cosmetic changes to init/Kconfig to make the subsystem list under containers look nicer when CONFIG_CONTAINERS=y.

also changed the 'select' to 'depends on' for the namespace subsystem.

---
 init/Kconfig |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)
init/Kconfig +16 -16
Index: 2.6.23-rc1-mm1/init/Kconfig
===================================================================
@@ -310,6 +310,22 @@ config CONTAINER_DEBUG
 
 	  Say N if unsure
 
+config CONTAINER_NS
+        bool "Namespace container subsystem"
+        depends on CONTAINERS
+        help
+          Provides a simple namespace container subsystem to
+          provide hierarchical naming of sets of namespaces,
+          for instance virtual servers and checkpoint/restart
+          jobs.
+
+config CONTAINER_CPUACCT
+	bool "Simple CPU accounting container subsystem"
+	depends on CONTAINERS
+	help
+	  Provides a simple Resource Controller for monitoring the
+	  total CPU consumed by the tasks in a container
+
 config CPUSETS
 	bool "Cpuset support"
 	depends on SMP && CONTAINERS
@@ -341,27 +357,11 @@ config SYSFS_DEPRECATED
 	  If you are using a distro that was released in 2006 or later,
 	  it should be safe to say N here.
 
-config CONTAINER_NS
-        bool "Namespace container subsystem"
-        select CONTAINERS
-        help
-          Provides a simple namespace container subsystem to
-          provide hierarchical naming of sets of namespaces,
-          for instance virtual servers and checkpoint/restart
-          jobs.
-
 config PROC_PID_CPUSET
 	bool "Include legacy /proc/<pid>/cpuset file"
 	depends on CPUSETS
 	default y
 
-config CONTAINER_CPUACCT
-	bool "Simple CPU accounting container subsystem"
-	depends on CONTAINERS
-	help
-	  Provides a simple Resource Controller for monitoring the
-	  total CPU consumed by the tasks in a container
-
 config RELAY
 	bool "Kernel->user space relay support (formerly relayfs)"
 	help