diff options
author | Ethan Chen <intervigil@gmail.com> | 2018-01-20 16:35:53 -0800 |
---|---|---|
committer | Georg Veichtlbauer <georg@vware.at> | 2023-07-16 12:47:43 +0200 |
commit | c0fa7577022c4169e1aaaf1bd9e04f63d285beb2 (patch) | |
tree | 83a03fba1d3744ec0903770bacfa0a56cea68cc5 /include/linux/sched.h | |
parent | d5cd35f38616a70453da067eda153f5dc5ede3a1 (diff) |
sched/walt: Re-add code to allow WALT to function
Change-Id: Ieb1067c5e276f872ed4c722b7d1fabecbdad87e7
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 0e8fff43cc17..4e212132a274 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1668,6 +1668,15 @@ struct task_struct { const struct sched_class *sched_class; struct sched_entity se; struct sched_rt_entity rt; +#ifdef CONFIG_SCHED_WALT + struct ravg ravg; + /* + * 'init_load_pct' represents the initial task load assigned to children + * of this task + */ + u32 init_load_pct; + u64 last_sleep_ts; +#endif #ifdef CONFIG_SCHED_HMP struct ravg ravg; /* |