summaryrefslogtreecommitdiff
path: root/include/linux/key.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2010-02-26 20:01:20 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-08-20 04:18:00 +0400
commite63ba744a64d234c8a07c469ab1806443cb0a6ff (patch)
tree84dcf86b243ca425ba1f7e7ddff6eb0754fafcd4 /include/linux/key.h
parent1b0ba1c9037b2265d6e5d0165d31e4c0269b603b (diff)
downloadlinux-e63ba744a64d234c8a07c469ab1806443cb0a6ff.tar.xz
keys: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: David Howells <dhowells@redhat.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/key.h')
-rw-r--r--include/linux/key.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/key.h b/include/linux/key.h
index cd50dfa1d4c2..3db0adce1fda 100644
--- a/include/linux/key.h
+++ b/include/linux/key.h
@@ -178,8 +178,9 @@ struct key {
*/
union {
unsigned long value;
+ void __rcu *rcudata;
void *data;
- struct keyring_list *subscriptions;
+ struct keyring_list __rcu *subscriptions;
} payload;
};