There is now an unconditional check for rcu_head misalignment in __call_rcu(), so remove the old conditional one in debug_rcu_head_queue().
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -50,7 +50,6 @@ extern struct debug_obj_descr rcuhead_debug_descr; · 49 unmodified lines | |||
| 50 | 50 | ||
| 51 | static inline void debug_rcu_head_queue(struct rcu_head *head) | 51 | static inline void debug_rcu_head_queue(struct rcu_head *head) |
| 52 | { | 52 | { |
| 53 | WARN_ON_ONCE((unsigned long)head & 0x3); | ||
| 54 | debug_object_activate(head, &rcuhead_debug_descr); | 53 | debug_object_activate(head, &rcuhead_debug_descr); |
| 55 | debug_object_active_state(head, &rcuhead_debug_descr, | 54 | debug_object_active_state(head, &rcuhead_debug_descr, |
| 56 | STATE_RCU_HEAD_READY, | 55 | STATE_RCU_HEAD_READY, |