Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312183
b: refs/heads/master
c: 172708d
h: refs/heads/master
i:
  312181: a37e243
  312179: 6aa9727
  312175: c88c45f
v: v3
  • Loading branch information
Paul E. McKenney committed Jul 2, 2012
1 parent 2c4cefb commit 27c55fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d1fb395f6dbc07b36285bbedcf01a73b57f7cb5
refs/heads/master: 172708d002e0a2aca032b04fe6f2b8525c29244a
8 changes: 8 additions & 0 deletions trunk/include/linux/rcupdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,14 @@ static inline notrace void rcu_read_unlock_sched_notrace(void)
#define RCU_INIT_POINTER(p, v) \
p = (typeof(*v) __force __rcu *)(v)

/**
* RCU_POINTER_INITIALIZER() - statically initialize an RCU protected pointer
*
* GCC-style initialization for an RCU-protected pointer in a structure field.
*/
#define RCU_POINTER_INITIALIZER(p, v) \
.p = (typeof(*v) __force __rcu *)(v)

static __always_inline bool __is_kfree_rcu_offset(unsigned long offset)
{
return offset < 4096;
Expand Down

0 comments on commit 27c55fe

Please sign in to comment.