remove sched notifier for cross-cpu migrations
[firefly-linux-kernel-4.4.55.git] / include / linux / sched.h
index 50d04b92cedaf900532f72d1acef35d04d7ecb69..bfc809d51745ff3c57fcb610ecc92cf179156500 100644 (file)
@@ -107,14 +107,6 @@ extern unsigned long this_cpu_load(void);
 extern void calc_global_load(unsigned long ticks);
 extern void update_cpu_load_nohz(void);
 
-/* Notifier for when a task gets migrated to a new CPU */
-struct task_migration_notifier {
-       struct task_struct *task;
-       int from_cpu;
-       int to_cpu;
-};
-extern void register_task_migration_notifier(struct notifier_block *n);
-
 extern unsigned long get_parent_ip(unsigned long addr);
 
 extern void dump_cpu_task(int cpu);