diff options
| author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-21 05:09:22 -0400 |
|---|---|---|
| committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-09-21 05:09:22 -0400 |
| commit | 7cce2f4cb7f5f641f78c8e3eea4e7b1b96cb71c0 (patch) | |
| tree | b064d077928cf224660ab1e1841cdab2c9fd8b08 /include/linux/init_task.h | |
| parent | e055f7e873d900925c222cf2d1ec955af4a9ca90 (diff) | |
| parent | ebc79c4f8da0f92efa968e0328f32334a2ce80cf (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into linux-next
Conflicts:
fs/ubifs/super.c
Merge the upstream tree in order to resolve a conflict with the
per-bdi writeback changes from the linux-2.6-block tree.
Diffstat (limited to 'include/linux/init_task.h')
| -rw-r--r-- | include/linux/init_task.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index 7fc01b13be43..9e7f2e8fc66e 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
| @@ -94,6 +94,16 @@ extern struct group_info init_groups; | |||
| 94 | # define CAP_INIT_BSET CAP_INIT_EFF_SET | 94 | # define CAP_INIT_BSET CAP_INIT_EFF_SET |
| 95 | #endif | 95 | #endif |
| 96 | 96 | ||
| 97 | #ifdef CONFIG_TREE_PREEMPT_RCU | ||
| 98 | #define INIT_TASK_RCU_PREEMPT(tsk) \ | ||
| 99 | .rcu_read_lock_nesting = 0, \ | ||
| 100 | .rcu_read_unlock_special = 0, \ | ||
| 101 | .rcu_blocked_node = NULL, \ | ||
| 102 | .rcu_node_entry = LIST_HEAD_INIT(tsk.rcu_node_entry), | ||
| 103 | #else | ||
| 104 | #define INIT_TASK_RCU_PREEMPT(tsk) | ||
| 105 | #endif | ||
| 106 | |||
| 97 | extern struct cred init_cred; | 107 | extern struct cred init_cred; |
| 98 | 108 | ||
| 99 | #ifdef CONFIG_PERF_COUNTERS | 109 | #ifdef CONFIG_PERF_COUNTERS |
| @@ -173,6 +183,7 @@ extern struct cred init_cred; | |||
| 173 | INIT_LOCKDEP \ | 183 | INIT_LOCKDEP \ |
| 174 | INIT_FTRACE_GRAPH \ | 184 | INIT_FTRACE_GRAPH \ |
| 175 | INIT_TRACE_RECURSION \ | 185 | INIT_TRACE_RECURSION \ |
| 186 | INIT_TASK_RCU_PREEMPT(tsk) \ | ||
| 176 | } | 187 | } |
| 177 | 188 | ||
| 178 | 189 | ||
