config: kernel: fix missed CGROUP_HUGETLB symbol
authorYuan Tao <ty@wevs.org>
Sat, 22 Aug 2020 11:31:20 +0000 (19:31 +0800)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 24 Aug 2020 00:09:30 +0000 (01:09 +0100)
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 <ty@wevs.org>
config/Config-kernel.in

index 496ec887cf6d345a7a41c83a88c17e26f7e54eef..d66617606426a11767afffabb4c1b498902ec759 100644 (file)
@@ -596,8 +596,8 @@ if KERNEL_CGROUPS
 
        config KERNEL_CGROUP_HUGETLB
                bool "HugeTLB controller"
-               default y if KERNEL_HUGETLB_PAGE
-               depends on KERNEL_HUGETLB_PAGE
+               default n
+               select KERNEL_HUGETLB_PAGE
 
        config KERNEL_CGROUP_PIDS
                bool "PIDs cgroup subsystem"