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

Commit 538d9022 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

sched: walt: move walt_stats member in cfs_rq under CFS_BANDWIDTH



The walt_stats member (walt_sched_stats structure) defined in cfs_rq
is only needed when CFS_BANDWIDTH feature is enabled. So add this
member under CFS_BANDWIDTH feature in cfs_rq structure.

Change-Id: I9ddfb00da3377a66a18522eaecdb8b0f76517e8e
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 0a016eaf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -650,11 +650,10 @@ struct cfs_rq {
	struct list_head	leaf_cfs_rq_list;
	struct task_group	*tg;	/* group that "owns" this runqueue */

#ifdef CONFIG_CFS_BANDWIDTH
#ifdef CONFIG_SCHED_WALT
	struct walt_sched_stats walt_stats;
#endif

#ifdef CONFIG_CFS_BANDWIDTH
	int			runtime_enabled;
	s64			runtime_remaining;