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);