Define some RCU debug macros in the LinuxKPI.

Submitted by:		Johannes Lundberg <johalun0@gmail.com>
MFC after:		1 week
Sponsored by:		Limelight Networks
Sponsored by:		Mellanox Technologies
This commit is contained in:
hselasky 2019-03-13 19:24:30 +00:00
parent 633e7b731a
commit e4dfde8a8f

View File

@ -100,4 +100,10 @@ extern void linux_rcu_read_lock(void);
extern void linux_rcu_read_unlock(void);
extern void linux_synchronize_rcu(void);
/* Empty implementation for !DEBUG */
#define init_rcu_head(...)
#define destroy_rcu_head(...)
#define init_rcu_head_on_stack(...)
#define destroy_rcu_head_on_stack(...)
#endif /* _LINUX_RCUPDATE_H_ */