mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
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: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
parent
0a016eaf4f
commit
538d90229e
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue