aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorYuan Tao <ty@wevs.org>2020-08-22 19:31:20 +0800
committerDaniel Golle <daniel@makrotopia.org>2020-08-24 01:09:30 +0100
commitba2ddba56b7824008fb3b544b1e1ae5d52ee39e5 (patch)
tree87cd99f3793bd140e069e504bc4022e341a9bf32 /config
parent2eaf03b4d8fffbbb5f987382c2af28a12a8f8993 (diff)
downloadupstream-ba2ddba56b7824008fb3b544b1e1ae5d52ee39e5.tar.gz
upstream-ba2ddba56b7824008fb3b544b1e1ae5d52ee39e5.tar.bz2
upstream-ba2ddba56b7824008fb3b544b1e1ae5d52ee39e5.zip
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 <ty@wevs.org>
Diffstat (limited to 'config')
-rw-r--r--config/Config-kernel.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 496ec887cf..d666176064 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"