hulk inclusion category: bugfix bugzilla: https://atomgit.com/openeuler/kernel/issues/9206 ---------------------------------------- The xcu subsystem does not support cgroup v1, so the legacy cftypes are no longer applicable. Remove them to prevent potential conflicts and align with the cgroup v2-only design. Fixes: 43bbefc53356 ("xsched: Add XCU control group implementation and its backend in xsched CFS") Signed-off-by: Liu Kai <liukai284@huawei.com> --- kernel/xsched/cgroup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/xsched/cgroup.c b/kernel/xsched/cgroup.c index 0127bf4fa270..8d22aa78ea81 100644 --- a/kernel/xsched/cgroup.c +++ b/kernel/xsched/cgroup.c @@ -930,7 +930,5 @@ struct cgroup_subsys xcu_cgrp_subsys = { #ifdef CONFIG_CGROUP_FREEZER .legacy_cftypes = files, .legacy_name = "freezer", -#else - .legacy_cftypes = xcu_cg_files, #endif }; -- 2.34.1