diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 9e169c2ba91f9008b29ca31435a3127d2df7d508..c7aeacf7fc9846125d33d8af48e7bec5f550adef 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -785,6 +785,7 @@ extern struct debug_obj_descr rcuhead_debug_descr; static inline void debug_rcu_head_queue(struct rcu_head *head) { + WARN_ON_ONCE((unsigned long)head & 0x3); debug_object_activate(head, &rcuhead_debug_descr); debug_object_active_state(head, &rcuhead_debug_descr, STATE_RCU_HEAD_READY,