Explorar el Código

config: kernel: fix missed CGROUP_HUGETLB symbol

The symbol KERNEL_CGROUP_HUGETLB is always used whenever KERNEL_CGROUPS is enabled.
The absence of this notation will cause the user to be asked to enter this parameter the first time it is compiled.

Signed-off-by: Yuan Tao <[email protected]>
Yuan Tao hace 5 años
padre
commit
ba2ddba56b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      config/Config-kernel.in

+ 2 - 2
config/Config-kernel.in

@@ -596,8 +596,8 @@ if KERNEL_CGROUPS
 
 
 	config KERNEL_CGROUP_HUGETLB
 	config KERNEL_CGROUP_HUGETLB
 		bool "HugeTLB controller"
 		bool "HugeTLB controller"
-		default y if KERNEL_HUGETLB_PAGE
-		depends on KERNEL_HUGETLB_PAGE
+		default n
+		select KERNEL_HUGETLB_PAGE
 
 
 	config KERNEL_CGROUP_PIDS
 	config KERNEL_CGROUP_PIDS
 		bool "PIDs cgroup subsystem"
 		bool "PIDs cgroup subsystem"