From a48f994e674cb9f04ad792cc7bf1e47fbed87c7e Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Thu, 5 Jan 2012 14:44:39 -0800 Subject: [PATCH] --- yaml --- r: 288543 b: refs/heads/master c: 0bb7b59d6e2b8440cd7097097dd4bbfc4d76ed07 h: refs/heads/master i: 288541: 0acd429b8dac4e9d6d1bf4e50270ccc19468366b 288539: 43b37b958047fd28b7ac08c68fc7f9b6d61c7dd7 288535: 34fdbbcebf0db11ffc4c35e5bde3db8547418d06 288527: 19f01ef6ec1cd91404b03f6d7d3d5b1f6cfb6538 288511: c86ec1a70f3d84b21dda5fcd5600fc576d6aeaeb v: v3 --- [refs] | 2 +- trunk/kernel/rcutree.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 967ed88e1f8d..71c2ae17b962 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fe15d706cfc1cb321dbe2329b04b5ca185edff60 +refs/heads/master: 0bb7b59d6e2b8440cd7097097dd4bbfc4d76ed07 diff --git a/trunk/kernel/rcutree.c b/trunk/kernel/rcutree.c index 3cf713a724c1..570f7530f4b3 100644 --- a/trunk/kernel/rcutree.c +++ b/trunk/kernel/rcutree.c @@ -1707,6 +1707,7 @@ __call_rcu(struct rcu_head *head, void (*func)(struct rcu_head *rcu), unsigned long flags; struct rcu_data *rdp; + WARN_ON_ONCE((unsigned long)head & 0x3); /* Misaligned rcu_head! */ debug_rcu_head_queue(head); head->func = func; head->next = NULL;