ANDROID: GKI: sched: add Android ABI padding to some structures
Try to mitigate potential future driver core api changes by adding padding to a number of core internal scheduler structures. Bug: 151154716 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0ef2f8dd5f3259dcf443c5045aa1e8505ed78a76
This commit is contained in:
committed by
Carlos Llamas
parent
da717c3ce1
commit
0b82194ecb
@@ -68,6 +68,7 @@
|
|||||||
#include <linux/task_work.h>
|
#include <linux/task_work.h>
|
||||||
#include <linux/tsacct_kern.h>
|
#include <linux/tsacct_kern.h>
|
||||||
#include <linux/android_vendor.h>
|
#include <linux/android_vendor.h>
|
||||||
|
#include <linux/android_kabi.h>
|
||||||
|
|
||||||
#include <asm/tlb.h>
|
#include <asm/tlb.h>
|
||||||
|
|
||||||
@@ -443,6 +444,10 @@ struct task_group {
|
|||||||
ANDROID_VENDOR_DATA_ARRAY(1, 4);
|
ANDROID_VENDOR_DATA_ARRAY(1, 4);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_FAIR_GROUP_SCHED
|
#ifdef CONFIG_FAIR_GROUP_SCHED
|
||||||
@@ -863,6 +868,11 @@ struct root_domain {
|
|||||||
struct perf_domain __rcu *pd;
|
struct perf_domain __rcu *pd;
|
||||||
|
|
||||||
ANDROID_VENDOR_DATA_ARRAY(1, 4);
|
ANDROID_VENDOR_DATA_ARRAY(1, 4);
|
||||||
|
|
||||||
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern void init_defrootdomain(void);
|
extern void init_defrootdomain(void);
|
||||||
@@ -1123,6 +1133,11 @@ struct rq {
|
|||||||
|
|
||||||
ANDROID_VENDOR_DATA_ARRAY(1, 96);
|
ANDROID_VENDOR_DATA_ARRAY(1, 96);
|
||||||
ANDROID_OEM_DATA_ARRAY(1, 16);
|
ANDROID_OEM_DATA_ARRAY(1, 16);
|
||||||
|
|
||||||
|
ANDROID_KABI_RESERVE(1);
|
||||||
|
ANDROID_KABI_RESERVE(2);
|
||||||
|
ANDROID_KABI_RESERVE(3);
|
||||||
|
ANDROID_KABI_RESERVE(4);
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_FAIR_GROUP_SCHED
|
#ifdef CONFIG_FAIR_GROUP_SCHED
|
||||||
|
|||||||
Reference in New Issue
Block a user