sched/fair: add tunable to force selection at cpu granularity
[firefly-linux-kernel-4.4.55.git] / include / linux / cpu.h
index d2ca8c38f9c45c0b279ef329c7abf130fcd0dc61..7c73824def83a9e7dda328a79485d830df375361 100644 (file)
@@ -290,4 +290,11 @@ bool cpu_wait_death(unsigned int cpu, int seconds);
 bool cpu_report_death(void);
 #endif /* #ifdef CONFIG_HOTPLUG_CPU */
 
+#define IDLE_START 1
+#define IDLE_END 2
+
+void idle_notifier_register(struct notifier_block *n);
+void idle_notifier_unregister(struct notifier_block *n);
+void idle_notifier_call_chain(unsigned long val);
+
 #endif /* _LINUX_CPU_H_ */