*/
#define rcu_read_lock_qsbr _rcu_read_lock
#define rcu_read_unlock_qsbr _rcu_read_unlock
+#define rcu_read_ongoing_qsbr _rcu_read_ongoing
#define rcu_quiescent_state_qsbr _rcu_quiescent_state
#define rcu_thread_offline_qsbr _rcu_thread_offline
* library debugging & tracing features we could come up with.
*/
-#if (!defined(BUILD_QSBR_LIB) && defined(RCU_DEBUG))
+#if (!defined(BUILD_QSBR_LIB) && !defined(RCU_DEBUG))
static inline void rcu_read_lock(void)
{
#endif /* !RCU_DEBUG */
+extern int rcu_read_ongoing(void);
extern void rcu_quiescent_state(void);
extern void rcu_thread_offline(void);
extern void rcu_thread_online(void);