mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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:
parent
5229a81ee3
commit
77013dd2c5
|
|
@ -66,6 +66,7 @@
|
|||
#include <linux/task_work.h>
|
||||
#include <linux/tsacct_kern.h>
|
||||
#include <linux/android_vendor.h>
|
||||
#include <linux/android_kabi.h>
|
||||
|
||||
#include <asm/tlb.h>
|
||||
#include <asm-generic/vmlinux.lds.h>
|
||||
|
|
@ -429,6 +430,10 @@ struct task_group {
|
|||
ANDROID_VENDOR_DATA_ARRAY(1, 4);
|
||||
#endif
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
#ifdef CONFIG_FAIR_GROUP_SCHED
|
||||
|
|
@ -829,6 +834,11 @@ struct root_domain {
|
|||
struct perf_domain __rcu *pd;
|
||||
|
||||
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);
|
||||
|
|
@ -1058,6 +1068,11 @@ struct rq {
|
|||
#endif
|
||||
|
||||
ANDROID_VENDOR_DATA_ARRAY(1, 96);
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
#ifdef CONFIG_FAIR_GROUP_SCHED
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user