summaryrefslogtreecommitdiff
path: root/include/linux/sched/loadavg.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2020-07-01 14:34:18 -0400
committerPeter Zijlstra <peterz@infradead.org>2020-07-22 10:22:04 +0200
commit46132e3ac58cb2ee48051ed80bffc0070ad59b2e (patch)
tree2046bc2bcf73a0f399eb0d93e8edd9334fb3e654 /include/linux/sched/loadavg.h
parent58877d347b58c9e971112df5eb311c13bb0acb28 (diff)
sched: nohz: stop passing around unused "ticks" parameter.
The "ticks" parameter was added in commit 0f004f5a696a ("sched: Cure more NO_HZ load average woes") since calc_global_nohz() was called and needed the "ticks" argument. But in commit c308b56b5398 ("sched: Fix nohz load accounting -- again!") it became unused as the function calc_global_nohz() dropped using "ticks". Fixes: c308b56b5398 ("sched: Fix nohz load accounting -- again!") Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/1593628458-32290-1-git-send-email-paul.gortmaker@windriver.com
Diffstat (limited to 'include/linux/sched/loadavg.h')
-rw-r--r--include/linux/sched/loadavg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/loadavg.h b/include/linux/sched/loadavg.h
index 4859bea47a7b..83ec54b65e79 100644
--- a/include/linux/sched/loadavg.h
+++ b/include/linux/sched/loadavg.h
@@ -43,6 +43,6 @@ extern unsigned long calc_load_n(unsigned long load, unsigned long exp,
#define LOAD_INT(x) ((x) >> FSHIFT)
#define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100)
-extern void calc_global_load(unsigned long ticks);
+extern void calc_global_load(void);
#endif /* _LINUX_SCHED_LOADAVG_H */