summaryrefslogtreecommitdiffstats
path: root/kernel/sched/autogroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched/autogroup.h')
-rw-r--r--kernel/sched/autogroup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/autogroup.h b/kernel/sched/autogroup.h
index b96419974a1f..90fcbfdd70c3 100644
--- a/kernel/sched/autogroup.h
+++ b/kernel/sched/autogroup.h
@@ -27,6 +27,7 @@ extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
static inline struct task_group *
autogroup_task_group(struct task_struct *p, struct task_group *tg)
{
+ extern unsigned int sysctl_sched_autogroup_enabled;
int enabled = READ_ONCE(sysctl_sched_autogroup_enabled);
if (enabled && task_wants_autogroup(p, tg))