/* Do per-CPU grace-period initialization for running CPU. The caller must hold the lock of the leaf rcu_node structure corresponding to this CPU.  */
static void rcu_start_gp_per_cpu(struct rcu_state *rsp, struct rcu_node *rnp, struct rcu_data *rdp)
/* Do per-CPU grace-period initialization for running CPU. The caller must hold the lock of the leaf rcu_node structure corresponding to this CPU.  */
static void rcu_start_gp_per_cpu(struct rcu_state *rsp, struct rcu_node *rnp, struct rcu_data *rdp)
{
	__rcu_process_gp_end(rsp, rnp, rdp);
	rdp->nxttail[RCU_NEXT_READY_TAIL] = rdp->nxttail[RCU_NEXT_TAIL];
	rdp->nxttail[RCU_WAIT_TAIL] = rdp->nxttail[RCU_NEXT_TAIL];
	__note_new_gpnum(rsp, rnp, rdp);
}