aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutree.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutree.c')
-rw-r--r--kernel/rcutree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index 3cf713a724c1..570f7530f4b3 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -1707,6 +1707,7 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu),
1707 unsigned long flags; 1707 unsigned long flags;
1708 struct rcu_data *rdp; 1708 struct rcu_data *rdp;
1709 1709
1710 WARN_ON_ONCE((unsigned long)head & 0x3); /* Misaligned rcu_head! */
1710 debug_rcu_head_queue(head); 1711 debug_rcu_head_queue(head);
1711 head->func = func; 1712 head->func = func;
1712 head->next = NULL; 1713 head->next = NULL;