From 21fd79c76e19231451f01104903c96c4eab94d27 Mon Sep 17 00:00:00 2001 From: Shaleen Agrawal Date: Tue, 14 Apr 2020 16:56:10 -0700 Subject: [PATCH] sched: Improve the scheduler This change is for general scheduler improvements. Change-Id: Icd64897b7ad5fb8fa5afc418aaca48bdfefca2ef Signed-off-by: Shaleen Agrawal --- include/linux/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index d3f29f73b44f..ca0c2be16971 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -247,7 +247,7 @@ enum migrate_types { RQ_TO_GROUP, }; -#ifdef CONFIG_HOTPLUG_CPU +#if defined(CONFIG_HOTPLUG_CPU) && defined(CONFIG_SCHED_WALT) extern int sched_isolate_cpu(int cpu); extern int sched_unisolate_cpu(int cpu); extern int sched_unisolate_cpu_unlocked(int cpu);