On 05/07/2018 04:41 PM, Rohit Jain wrote:
diff --git a/kernel/sched/core.c b/kernel/sched/core.c* available_idle_cpu -
index 71bdb86..171e160 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -4028,6 +4028,20 @@ int idle_cpu(int cpu)
return 0;
#endif
+ return 1;
+}
+
+/**
+ * idle_cpu - is a given CPU idle for enqueuing work.