summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorHao Jia <jiahao.os@bytedance.com>2023-08-29 11:03:25 +0800
committerIngo Molnar <mingo@kernel.org>2023-08-29 21:05:28 +0200
commitc958ca2013e28e7573ad95c028198cb67c1352dd (patch)
treeebc1728223bde9567b9dd8d29fc2ebe9f1b110c5 /kernel
parentae89408341f59e39d3b7d9e0d58905722136a176 (diff)
sched/fair: Make update_entity_lag() static
The function update_entity_lag() is only used inside the kernel/sched/fair.c file. Make it static. Signed-off-by: Hao Jia <jiahao.os@bytedance.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20230829030325.69128-1-jiahao.os@bytedance.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 911d0063763c..8dbff6e7ad4f 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -699,7 +699,7 @@ u64 avg_vruntime(struct cfs_rq *cfs_rq)
*
* XXX could add max_slice to the augmented data to track this.
*/
-void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
+static void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
{
s64 lag, limit;