rcutorture: Sanitize RCUTORTURE_RDR_MASK
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 23 Sep 2021 03:31:44 +0000 (20:31 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 1 Dec 2021 01:29:49 +0000 (17:29 -0800)
commit902d82e6299631ec6b6c759ac4b45e44b45cc832
tree6ae2ca91ee643039af33138e371ade1e248143bd
parent8c0abfd6d2f6b0221194241ac2908751a2a0385f
rcutorture: Sanitize RCUTORTURE_RDR_MASK

RCUTORTURE_RDR_MASK is currently not the bit indicated by
RCUTORTURE_RDR_SHIFT, but is instead all the bits less significant than
that one.  This is an accident waiting to happen, so this commit makes
RCUTORTURE_RDR_MASK be that one bit and adjusts uses accordingly.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c