summaryrefslogtreecommitdiffstats
path: root/include/linux/sched/loadavg.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/loadavg.h')
-rw-r--r--include/linux/sched/loadavg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sched/loadavg.h b/include/linux/sched/loadavg.h
index cc9cc62bb1f8..4859bea47a7b 100644
--- a/include/linux/sched/loadavg.h
+++ b/include/linux/sched/loadavg.h
@@ -37,6 +37,9 @@ calc_load(unsigned long load, unsigned long exp, unsigned long active)
return newload / FIXED_1;
}
+extern unsigned long calc_load_n(unsigned long load, unsigned long exp,
+ unsigned long active, unsigned int n);
+
#define LOAD_INT(x) ((x) >> FSHIFT)
#define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100)