ANDROID: GKI: sched: fix CRC issues related to CONFIG_SCHED_TUNE

Move the new stune_idx to use one of the KABI padding fields.

Bug: 185091725
Fixes: bca62a0ae5 ("sched/tune: Fix improper accounting of tasks")
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: Ibd31dfc2158a766f1dcb8e63ddc4193dac6d6077
This commit is contained in:
Will McVicker
2021-04-28 10:26:39 -07:00
committed by Michael Bestas
parent b5ba0f1153
commit 413952dbb2

View File

@@ -896,9 +896,6 @@ struct task_struct {
#ifdef CONFIG_CGROUP_SCHED
struct task_group *sched_task_group;
#endif
#ifdef CONFIG_SCHED_TUNE
int stune_idx;
#endif
struct sched_dl_entity dl;
@@ -1513,7 +1510,12 @@ struct task_struct {
struct mutex futex_exit_mutex;
#endif
/* bca62a0ae565 ("sched/tune: Fix improper accounting of tasks") */
#ifdef CONFIG_SCHED_TUNE
ANDROID_KABI_USE(7, int stune_idx);
#else
ANDROID_KABI_RESERVE(7);
#endif
ANDROID_KABI_RESERVE(8);
/*