]> git.karo-electronics.de Git - linux-beck.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>
Wed, 9 Jul 2014 16:14:50 +0000 (09:14 -0700)
commit1146edcbef3789228454c4aa42c08ddc2c275990
tree3037da619c07da2510adc21decf09fdd0b2ad34d
parenta792563bd47632d85158c72e2acf4484eed0ec32
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>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/rcu/tree.c