summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-02-24 19:41:39 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-19 17:18:00 -0700
commit2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc (patch)
tree4e8e9414afe539baa66eacad9c99dd3bc15feabc /include/linux/sched.h
parent67bdbffd696f29a0b68aa8daa285783a06651583 (diff)
downloadblackbird-op-linux-2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc.tar.gz
blackbird-op-linux-2c392b8c3450ceb69ba1b93cb0cddb3998fb8cdc.zip
cgroups: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Paul Menage <menage@google.com> Cc: Li Zefan <lizf@cn.fujitsu.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 1e2a6db2d7dd..bbffd087476c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1418,7 +1418,7 @@ struct task_struct {
#endif
#ifdef CONFIG_CGROUPS
/* Control Group info protected by css_set_lock */
- struct css_set *cgroups;
+ struct css_set __rcu *cgroups;
/* cg_list protected by css_set_lock and tsk->alloc_lock */
struct list_head cg_list;
#endif
OpenPOWER on IntegriCloud