mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
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
0ac26c0e30
commit
856b815d27
1 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue