/* Update CPU-local rcu_data state to record the newly noticed grace period. This is used both when we started the grace period and when we notice that someone else started the grace period. The caller must hold the ->lock of the leaf rcu_node structure corresponding to the current CPU, and must have irqs disabled.  */
static void __note_new_gpnum(struct rcu_state *rsp, struct rcu_node *rnp, struct rcu_data *rdp)
/* Update CPU-local rcu_data state to record the newly noticed grace period. This is used both when we started the grace period and when we notice that someone else started the grace period. The caller must hold the ->lock of the leaf rcu_node structure corresponding to the current CPU, and must have irqs disabled.  */
static void __note_new_gpnum(struct rcu_state *rsp, struct rcu_node *rnp, struct rcu_data *rdp)
{
	if (rdp->gpnum != rnp->gpnum) {
		rdp->qs_pending = 1;
		rdp->passed_quiesc = 0;
		rdp->gpnum = rnp->gpnum;
	}
}