/* Either called from update_cpu_load() or from a cpu going idle  */
static void calc_load_account_active(struct rq *this_rq)
/* Either called from update_cpu_load() or from a cpu going idle  */
static void calc_load_account_active(struct rq *this_rq)
{
	long nr_active, delta;
	nr_active = this_rq->nr_running;
	nr_active += (long) this_rq->nr_uninterruptible;
	if (nr_active != this_rq->calc_load_active) {
		delta = nr_active - this_rq->calc_load_active;
		this_rq->calc_load_active = nr_active;
		atomic_long_add(delta, &calc_load_tasks);
	}
}