Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312186
b: refs/heads/master
c: e5c1f44
h: refs/heads/master
v: v3
  • Loading branch information
Paul E. McKenney committed Jul 2, 2012
1 parent bdaaca7 commit 42ba3d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1b88eb9e3bccaa43fb5d1bde1cbe210b3434731
refs/heads/master: e5c1f444d28b1a9eaf9c3927041db0414f684ef4
4 changes: 3 additions & 1 deletion trunk/include/linux/key.h
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,9 @@ static inline bool key_is_instantiated(const struct key *key)
rwsem_is_locked(&((struct key *)(KEY))->sem)))

#define rcu_assign_keypointer(KEY, PAYLOAD) \
(rcu_assign_pointer((KEY)->payload.rcudata, PAYLOAD))
do { \
rcu_assign_pointer((KEY)->payload.rcudata, (PAYLOAD)); \
} while (0)

#ifdef CONFIG_SYSCTL
extern ctl_table key_sysctls[];
Expand Down

0 comments on commit 42ba3d0

Please sign in to comment.