mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 00:51:35 +00:00
sched: remove the 'u64 now' parameter from enqueue_sleeper()
remove the 'u64 now' parameter from enqueue_sleeper(). ( identity transformation that causes no change in functionality. ) Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
dfdc119e54
commit
2396af69be
1 changed files with 2 additions and 3 deletions
|
@ -520,8 +520,7 @@ static void __enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||||
schedstat_add(cfs_rq, wait_runtime, se->wait_runtime);
|
schedstat_add(cfs_rq, wait_runtime, se->wait_runtime);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se)
|
||||||
enqueue_sleeper(struct cfs_rq *cfs_rq, struct sched_entity *se, u64 now)
|
|
||||||
{
|
{
|
||||||
struct task_struct *tsk = task_of(se);
|
struct task_struct *tsk = task_of(se);
|
||||||
unsigned long delta_fair;
|
unsigned long delta_fair;
|
||||||
|
@ -580,7 +579,7 @@ enqueue_entity(struct cfs_rq *cfs_rq, struct sched_entity *se,
|
||||||
update_curr(cfs_rq);
|
update_curr(cfs_rq);
|
||||||
|
|
||||||
if (wakeup)
|
if (wakeup)
|
||||||
enqueue_sleeper(cfs_rq, se, now);
|
enqueue_sleeper(cfs_rq, se);
|
||||||
|
|
||||||
update_stats_enqueue(cfs_rq, se);
|
update_stats_enqueue(cfs_rq, se);
|
||||||
__enqueue_entity(cfs_rq, se);
|
__enqueue_entity(cfs_rq, se);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue