|
@@ -67,12 +67,15 @@
|
|
|
|
|
|
extern struct debug_obj_descr rcuhead_debug_descr;
|
|
extern struct debug_obj_descr rcuhead_debug_descr;
|
|
|
|
|
|
-static inline void debug_rcu_head_queue(struct rcu_head *head)
|
|
|
|
|
|
+static inline int debug_rcu_head_queue(struct rcu_head *head)
|
|
{
|
|
{
|
|
- debug_object_activate(head, &rcuhead_debug_descr);
|
|
|
|
|
|
+ int r1;
|
|
|
|
+
|
|
|
|
+ r1 = debug_object_activate(head, &rcuhead_debug_descr);
|
|
debug_object_active_state(head, &rcuhead_debug_descr,
|
|
debug_object_active_state(head, &rcuhead_debug_descr,
|
|
STATE_RCU_HEAD_READY,
|
|
STATE_RCU_HEAD_READY,
|
|
STATE_RCU_HEAD_QUEUED);
|
|
STATE_RCU_HEAD_QUEUED);
|
|
|
|
+ return r1;
|
|
}
|
|
}
|
|
|
|
|
|
static inline void debug_rcu_head_unqueue(struct rcu_head *head)
|
|
static inline void debug_rcu_head_unqueue(struct rcu_head *head)
|
|
@@ -83,8 +86,9 @@ static inline void debug_rcu_head_unqueue(struct rcu_head *head)
|
|
debug_object_deactivate(head, &rcuhead_debug_descr);
|
|
debug_object_deactivate(head, &rcuhead_debug_descr);
|
|
}
|
|
}
|
|
#else /* !CONFIG_DEBUG_OBJECTS_RCU_HEAD */
|
|
#else /* !CONFIG_DEBUG_OBJECTS_RCU_HEAD */
|
|
-static inline void debug_rcu_head_queue(struct rcu_head *head)
|
|
|
|
|
|
+static inline int debug_rcu_head_queue(struct rcu_head *head)
|
|
{
|
|
{
|
|
|
|
+ return 0;
|
|
}
|
|
}
|
|
|
|
|
|
static inline void debug_rcu_head_unqueue(struct rcu_head *head)
|
|
static inline void debug_rcu_head_unqueue(struct rcu_head *head)
|