/* No locking against reading these values from userspace, as for the CPU loadavg code.  */
static void spu_calc_load(void)
/* No locking against reading these values from userspace, as for the CPU loadavg code.  */
static void spu_calc_load(void)
{
	unsigned long active_tasks;
	active_tasks = count_active_contexts() * FIXED_1;
	CALC_LOAD(spu_avenrun[0], EXP_1, active_tasks);
	CALC_LOAD(spu_avenrun[1], EXP_5, active_tasks);
	CALC_LOAD(spu_avenrun[2], EXP_15, active_tasks);
}