rcu: Expand SRCU ->completed to 64 bits
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 24 Nov 2014 04:30:06 +0000 (20:30 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 6 Jan 2015 19:04:26 +0000 (11:04 -0800)
commita5c198f4f7da6cc48116ca239c59c9f44b753364
treea60e0e2ec6158f785f79c5fe55306c11d10ddd0d
parent734d16801349fbe951d2f780191d32c5b8a892d1
rcu: Expand SRCU ->completed to 64 bits

When rcutorture used only the low-order 32 bits of the grace-period
number, it was not a problem for SRCU to use a 32-bit completed field.
However, rcutorture now uses the full 64 bits on 64-bit systems, so
this commit converts SRCU's ->completed field to unsigned long so as to
provide 64 bits on 64-bit systems.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/srcu.h
kernel/rcu/srcu.c