diff options
author | Ingo Molnar <mingo@elte.hu> | 2011-10-01 14:21:36 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-10-01 14:21:36 +0200 |
commit | 048b718029033af117870d3da47da12995be14a3 (patch) | |
tree | b3d4bf5219cd6543c35cb79d1aa08ae98cf2a8af /include/linux/types.h | |
parent | 47ea91b4052d9e94b9dca5d7a3d947fbebd07ba9 (diff) | |
parent | afe24b122eb6edb5f1cb942570ac8d766105c7fc (diff) |
Merge branch 'rcu/next' of git://github.com/paulmckrcu/linux into core/rcu
Diffstat (limited to 'include/linux/types.h')
-rw-r--r-- | include/linux/types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 176da8c1fbb..57a97234bec 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -238,6 +238,16 @@ struct ustat { char f_fpack[6]; }; +/** + * struct rcu_head - callback structure for use with RCU + * @next: next update requests in a list + * @func: actual update function to call after the grace period. + */ +struct rcu_head { + struct rcu_head *next; + void (*func)(struct rcu_head *head); +}; + #endif /* __KERNEL__ */ #endif /* __ASSEMBLY__ */ #endif /* _LINUX_TYPES_H */ |