diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-02-02 11:26:06 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-02-21 12:06:11 -0500 |
commit | ce5df97be530e4746bf9a4ac14589a1cfdfd8efc (patch) | |
tree | 675b725e349992c3ed662009bb2a615c8dddee4d /kernel/rcu.h | |
parent | 3c1b1ce00d2702d6be9b92233822e560f37ea780 (diff) |
rcu: Remove redundant check for rcu_head misalignment
There is now an unconditional check for rcu_head misalignment in
__call_rcu(), so remove the old conditional one in debug_rcu_head_queue().
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu.h')
-rw-r--r-- | kernel/rcu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu.h b/kernel/rcu.h index a074b0b43fc2..30876f4063b6 100644 --- a/kernel/rcu.h +++ b/kernel/rcu.h | |||
@@ -50,7 +50,6 @@ extern struct debug_obj_descr rcuhead_debug_descr; | |||
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, |