rcutorture: Add SRCU ->same_gp_state and ->get_comp_state functions

This commit points the SRCU ->same_gp_state and ->get_comp_state fields
to same_state_synchronize_srcu() and get_completed_synchronize_srcu(),
allowing them to be tested.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
This commit is contained in:
Paul E. McKenney 2024-06-14 16:47:12 -07:00 • committed by Neeraj Upadhyay
commit 1bc5bb9a61