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
c425034c95
commit
41afe8d0bf
1 changed files with 15 additions and 0 deletions
|
|
@ -69,6 +69,7 @@
|
|||
#include <linux/wait_bit.h>
|
||||
#include <linux/workqueue_api.h>
|
||||
#include <linux/android_vendor.h>
|
||||
#include <linux/android_kabi.h>
|
||||
#include "android.h"
|
||||
|
||||
#include <trace/events/power.h>
|
||||
|
|
@ -424,6 +425,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
|
||||
|
|
@ -889,6 +894,11 @@ struct root_domain {
|
|||
struct perf_domain __rcu *pd;
|
||||
|
||||
ANDROID_VENDOR_DATA_ARRAY(1, 1);
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
extern void init_defrootdomain(void);
|
||||
|
|
@ -1163,6 +1173,11 @@ struct rq {
|
|||
#endif
|
||||
|
||||
ANDROID_VENDOR_DATA_ARRAY(1, 1);
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
#ifdef CONFIG_FAIR_GROUP_SCHED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue