summaryrefslogtreecommitdiff
path: root/include/linux/rcu_types.h
blob: fd3570d0e6c1f5ccc380f4a17f2a3fc11fbfcda6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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