diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-12-23 06:57:04 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-12-23 06:57:04 -0500 |
commit | 394f4528c523d88daabd50f883a8d6b164075555 (patch) | |
tree | b45a5b87a1ba9be8afe71f1db1537ff19e2b05d8 /include/linux/init_task.h | |
parent | 90a8a73c06cc32b609a880d48449d7083327e11a (diff) | |
parent | 3c2dcf2aed5ea22ecf65a9a871c4963faec421b3 (diff) |
Merge branch 'rcu/next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu into core/rcu
Diffstat (limited to 'include/linux/init_task.h')
-rw-r--r-- | include/linux/init_task.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 1f8c06ce0fa6..6b281fae114a 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
@@ -83,6 +83,12 @@ extern struct group_info init_groups; | |||
83 | */ | 83 | */ |
84 | # define CAP_INIT_BSET CAP_FULL_SET | 84 | # define CAP_INIT_BSET CAP_FULL_SET |
85 | 85 | ||
86 | #ifdef CONFIG_RCU_BOOST | ||
87 | #define INIT_TASK_RCU_BOOST() \ | ||
88 | .rcu_boost_mutex = NULL, | ||
89 | #else | ||
90 | #define INIT_TASK_RCU_BOOST() | ||
91 | #endif | ||
86 | #ifdef CONFIG_TREE_PREEMPT_RCU | 92 | #ifdef CONFIG_TREE_PREEMPT_RCU |
87 | #define INIT_TASK_RCU_TREE_PREEMPT() \ | 93 | #define INIT_TASK_RCU_TREE_PREEMPT() \ |
88 | .rcu_blocked_node = NULL, | 94 | .rcu_blocked_node = NULL, |
@@ -94,7 +100,8 @@ extern struct group_info init_groups; | |||
94 | .rcu_read_lock_nesting = 0, \ | 100 | .rcu_read_lock_nesting = 0, \ |
95 | .rcu_read_unlock_special = 0, \ | 101 | .rcu_read_unlock_special = 0, \ |
96 | .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), \ | 102 | .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), \ |
97 | INIT_TASK_RCU_TREE_PREEMPT() | 103 | INIT_TASK_RCU_TREE_PREEMPT() \ |
104 | INIT_TASK_RCU_BOOST() | ||
98 | #else | 105 | #else |
99 | #define INIT_TASK_RCU_PREEMPT(tsk) | 106 | #define INIT_TASK_RCU_PREEMPT(tsk) |
100 | #endif | 107 | #endif |