]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Loosen __call_rcu()'s rcu_head alignment constraint
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Jun 2014 15:24:17 +0000 (08:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Jun 2014 17:59:38 +0000 (10:59 -0700)
commit3863144ef20769eeab58d56ada63588a854f4a59
tree86cf85a32a62412f799dadbc0fb2508bf4737655
parente4bbbe041e32f75136fca18622b63b1feafe3efe
rcu: Loosen __call_rcu()'s rcu_head alignment constraint

The m68k architecture aligns only to 16-bit boundaries, which can cause
the align-to-32-bits check in __call_rcu() to trigger.  Because there is
currently no known potential need for more than one low-order bit, this
commit loosens the check to 16-bit boundaries.

Reported-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c