diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 7b0cb2f090da4e9de4c307f706ed6b434f99170f..40c4f9eb39ad0ef0da56ff3f5d9b3e72272f354b 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8442,7 +8442,7 @@ static int select_idle_sibling(struct task_struct *p, int prev, int target) * * Return: (Boosted) (estimated) utilization for the specified CPU. */ -static unsigned long +static inline unsigned long cpu_util(int cpu, struct task_struct *p, int dst_cpu, int boost) { struct cfs_rq *cfs_rq = &cpu_rq(cpu)->cfs; @@ -8530,7 +8530,7 @@ unsigned long cpu_util_cfs_boost(int cpu) * utilization of the specified task, whenever the task is currently * contributing to the CPU utilization. */ -static unsigned long cpu_util_without(int cpu, struct task_struct *p) +static inline unsigned long cpu_util_without(int cpu, struct task_struct *p) { /* Task has no contribution or is new */ if (cpu != task_cpu(p) || !READ_ONCE(p->se.avg.last_update_time))