|
@@ -358,9 +358,19 @@ void wait_rcu_gp(call_rcu_func_t crf);
|
|
* initialization.
|
|
* initialization.
|
|
*/
|
|
*/
|
|
#ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD
|
|
#ifdef CONFIG_DEBUG_OBJECTS_RCU_HEAD
|
|
|
|
+void init_rcu_head(struct rcu_head *head);
|
|
|
|
+void destroy_rcu_head(struct rcu_head *head);
|
|
void init_rcu_head_on_stack(struct rcu_head *head);
|
|
void init_rcu_head_on_stack(struct rcu_head *head);
|
|
void destroy_rcu_head_on_stack(struct rcu_head *head);
|
|
void destroy_rcu_head_on_stack(struct rcu_head *head);
|
|
#else /* !CONFIG_DEBUG_OBJECTS_RCU_HEAD */
|
|
#else /* !CONFIG_DEBUG_OBJECTS_RCU_HEAD */
|
|
|
|
+static inline void init_rcu_head(struct rcu_head *head)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static inline void destroy_rcu_head(struct rcu_head *head)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
static inline void init_rcu_head_on_stack(struct rcu_head *head)
|
|
static inline void init_rcu_head_on_stack(struct rcu_head *head)
|
|
{
|
|
{
|
|
}
|
|
}
|