/* These values are estimates at best, so no need for locking.  */
void get_avenrun(unsigned long *loads, unsigned long offset, int shift)
/* These values are estimates at best, so no need for locking.  */
void get_avenrun(unsigned long *loads, unsigned long offset, int shift)
{
	loads[0] = (avenrun[0] + offset) << shift;
	loads[1] = (avenrun[1] + offset) << shift;
	loads[2] = (avenrun[2] + offset) << shift;
}