[Devel] [RFC 21/54] sched: fix CONFIG_VE=n build
Eva Kurchatova
eva.kurchatova at virtuozzo.com
Wed Apr 29 22:58:21 MSK 2026
Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
---
include/linux/sched.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 72d17528fa8f..04285af75389 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2263,11 +2263,11 @@ static inline void link_ve_root_cpu_cgroup(struct cgroup_subsys_state *css)
static inline void unlink_ve_root_cpu_cgroup(struct cgroup_subsys_state *css)
{
}
-static int cpu_cgroup_proc_stat_show(struct seq_file *sf, void *v)
+static inline int cpu_cgroup_proc_stat_show(struct seq_file *sf, void *v)
{
return 0;
}
-int cpu_cgroup_proc_stat(struct cgroup_subsys_state *cpu_css,
+static inline int cpu_cgroup_proc_stat(struct cgroup_subsys_state *cpu_css,
struct cgroup_subsys_state *cpuacct_css,
struct seq_file *p)
{
--
2.54.0
More information about the Devel
mailing list