projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched: Add migrate_disable()
[linux-block.git]
/
include
/
linux
/
sched.h
diff --git
a/include/linux/sched.h
b/include/linux/sched.h
index 063cd120b459339443db7b003df5cd22140316c6..0732356c0eca614d3a30acc7fd427d7958d4ca0b 100644
(file)
--- a/
include/linux/sched.h
+++ b/
include/linux/sched.h
@@
-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;