rcu: Cleanup, don't put ->completed into an int
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 19 Apr 2018 16:05:50 +0000 (09:05 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 15 May 2018 17:30:15 +0000 (10:30 -0700)
commita508aa597ec2f046c00b8809f887f90cf1aaa47f
tree9a6804bcde0ef2bac5292ad098be1f7fb61c36d7
parentbd7af8463b9fae02b4c7d7248a088ca685ef184c
rcu: Cleanup, don't put ->completed into an int

It is true that currently only the low-order two bits are used, so
there should be no problem given modern machines and compilers, but
good hygiene and maintainability dictates use of an unsigned long
instead of an int.  This commit therefore makes this change.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Nicholas Piggin <npiggin@gmail.com>
kernel/rcu/tree.c