mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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
This commit is contained in:
parent
ae89408341
commit
c958ca2013
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ u64 avg_vruntime(struct cfs_rq *cfs_rq)
|
||||||
*
|
*
|
||||||
* XXX could add max_slice to the augmented data to track this.
|
* 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;
|
s64 lag, limit;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue