/* Check to see if there is any immediate RCU-related work to be done by the current CPU, returning 1 if so. This function is part of the RCU implementation; it is -not- an exported member of the RCU API.  */
static int rcu_pending(int cpu)
/* Check to see if there is any immediate RCU-related work to be done by the current CPU, returning 1 if so. This function is part of the RCU implementation; it is -not- an exported member of the RCU API.  */
static int rcu_pending(int cpu)
{
	return __rcu_pending(&rcu_sched_state, &per_cpu(rcu_sched_data, cpu)) ||
	       __rcu_pending(&rcu_bh_state, &per_cpu(rcu_bh_data, cpu)) ||
	       rcu_preempt_pending(cpu);
}