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