/* Helper function for rcu_qsctr_inc() and rcu_bh_qsctr_inc(). Also disable irqs to avoid confusion due to interrupt handlers invoking call_rcu().  */
static int rcu_qsctr_help(struct rcu_ctrlblk *rcp)
/* Helper function for rcu_qsctr_inc() and rcu_bh_qsctr_inc(). Also disable irqs to avoid confusion due to interrupt handlers invoking call_rcu().  */
static int rcu_qsctr_help(struct rcu_ctrlblk *rcp)
{
	unsigned long flags;
	local_irq_save(flags);
	if (rcp->rcucblist != NULL &&
	    rcp->donetail != rcp->curtail) {
		rcp->donetail = rcp->curtail;
		local_irq_restore(flags);
		return 1;
	}
	local_irq_restore(flags);
	return 0;
}