Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19adbba7 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched: fair: fix compilation issues for cfs_bandwidth enabled



When CONFIG_CFS_BANDWIDTH is enabled, couple of compilation
issues comes in WALT enabled. Fix them.

Change-Id: I248d3c388fe60db981e9add386327a4a8dad58f6
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent f43dabe3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4632,6 +4632,7 @@ void unthrottle_cfs_rq(struct cfs_rq *cfs_rq)
	struct sched_entity *se;
	int enqueue = 1;
	long task_delta;
	struct cfs_rq *tcfs_rq __maybe_unused = cfs_rq;

	se = cfs_rq->tg->se[cpu_of(rq)];

@@ -12579,7 +12580,7 @@ static void walt_init_cfs_rq_stats(struct cfs_rq *cfs_rq)
{
	cfs_rq->walt_stats.nr_big_tasks = 0;
	cfs_rq->walt_stats.cumulative_runnable_avg_scaled = 0;
	cfs_rq->walt_stats.pred_demands_sum = 0;
	cfs_rq->walt_stats.pred_demands_sum_scaled = 0;
}

static void walt_inc_cfs_rq_stats(struct cfs_rq *cfs_rq, struct task_struct *p)