summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-05-27 19:02:06 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-10-29 18:19:20 +0100
commit6d815d06448064890f2c6b29e48ec3fa700c0fb9 (patch)
tree82f7fc3e36cfc5b312dcfbb8290fba3bce6f15fd /include/linux/sched.h
parent573a89de364ae29438698492cd3ef63cb66c2eec (diff)
downloadlinux-rt-6d815d06448064890f2c6b29e48ec3fa700c0fb9.tar.gz
kernel/sched/core: add migrate_disable()
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 21082ce0e814..48a83065e7ac 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -662,6 +662,13 @@ struct task_struct {
int nr_cpus_allowed;
const cpumask_t *cpus_ptr;
cpumask_t cpus_mask;
+#if defined(CONFIG_PREEMPT_COUNT) && defined(CONFIG_SMP)
+ int migrate_disable;
+ int migrate_disable_update;
+# ifdef CONFIG_SCHED_DEBUG
+ int migrate_disable_atomic;
+# endif
+#endif
#ifdef CONFIG_PREEMPT_RCU
int rcu_read_lock_nesting;