/* Note a quiescent state. Because we do not need to know how many quiescent states passed, just if there was at least one since the start of the grace period, this just sets a flag.  */
void rcu_sched_qs(int cpu)
/* Note a quiescent state. Because we do not need to know how many quiescent states passed, just if there was at least one since the start of the grace period, this just sets a flag.  */
void rcu_sched_qs(int cpu)
{
	struct rcu_data *rdp;
	rdp = &per_cpu(rcu_sched_data, cpu);
	rdp->passed_quiesc_completed = rdp->gpnum - 1;
	barrier();
	rdp->passed_quiesc = 1;
	rcu_preempt_note_context_switch(cpu);
}