From: Yuan Tao Date: Sat, 22 Aug 2020 11:31:20 +0000 (+0800) Subject: config: kernel: fix missed CGROUP_HUGETLB symbol X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fe024ea24e0a69d08a6a6cca688aaff0f9f4633;p=thirdparty%2Fopenwrt.git 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 Signed-off-by: maurerr --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 496ec887cf6..d6661760642 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -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"