summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-02-25 23:43:52 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-19 17:18:03 -0700
commita1115570b31091f3e3ab9e6cf7ee8d320a42be84 (patch)
tree1253b42dd3348fb733fdf51bcf30f1abf1388b19 /lib
parent374a8e0dc33c984fac284de7d57d77af3cfdbfb7 (diff)
downloadlinux-stable-a1115570b31091f3e3ab9e6cf7ee8d320a42be84.tar.gz
linux-stable-a1115570b31091f3e3ab9e6cf7ee8d320a42be84.tar.bz2
linux-stable-a1115570b31091f3e3ab9e6cf7ee8d320a42be84.zip
radix-tree: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Nick Piggin <npiggin@suse.de> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/radix-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radix-tree.c b/lib/radix-tree.c
index e907858498a6..899fb750946f 100644
--- a/lib/radix-tree.c
+++ b/lib/radix-tree.c
@@ -49,7 +49,7 @@ struct radix_tree_node {
unsigned int height; /* Height from the bottom */
unsigned int count;
struct rcu_head rcu_head;
- void *slots[RADIX_TREE_MAP_SIZE];
+ void __rcu *slots[RADIX_TREE_MAP_SIZE];
unsigned long tags[RADIX_TREE_MAX_TAGS][RADIX_TREE_TAG_LONGS];
};