sched: Add migrate_disable()
[linux-block.git] / include / linux / sched.h
index 063cd120b459339443db7b003df5cd22140316c6..0732356c0eca614d3a30acc7fd427d7958d4ca0b 100644 (file)
@@ -714,6 +714,9 @@ struct task_struct {
        int                             nr_cpus_allowed;
        const cpumask_t                 *cpus_ptr;
        cpumask_t                       cpus_mask;
+#if defined(CONFIG_SMP) && defined(CONFIG_PREEMPT_RT)
+       int                             migration_disabled;
+#endif
 
 #ifdef CONFIG_PREEMPT_RCU
        int                             rcu_read_lock_nesting;