diff options
Diffstat (limited to 'include/linux/rcu_types.h')
-rw-r--r-- | include/linux/rcu_types.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/rcu_types.h b/include/linux/rcu_types.h new file mode 100644 index 000000000000..fd3570d0e6c1 --- /dev/null +++ b/include/linux/rcu_types.h @@ -0,0 +1,18 @@ +#ifndef __LINUX_RCU_TYPES_H +#define __LINUX_RCU_TYPES_H + +#ifdef __KERNEL__ + +/** + * 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 + +#endif |