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:
parent
633e7b731a
commit
e4dfde8a8f
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user