mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
Fix KMI break on GKI build
Only add OEM DATA on QGKI and keep the origin struct on GKI to avoid break KMI. Change-Id: I6678db4ce211a21c91c5305024cb18b9f5e1265e Reviewed-on: https://gerrit.mot.com/2749363 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
8686f439ac
commit
06f890cf6f
2 changed files with 4 additions and 2 deletions
|
|
@ -333,8 +333,9 @@ struct mem_cgroup {
|
|||
#if defined(CONFIG_TRANSPARENT_HUGEPAGE) || defined(CONFIG_GKI_OPT_FEATURES)
|
||||
struct deferred_split deferred_split_queue;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_QGKI
|
||||
ANDROID_OEM_DATA(1);
|
||||
#endif
|
||||
struct mem_cgroup_per_node *nodeinfo[0];
|
||||
/* WARNING: nodeinfo must be the last member here */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -758,8 +758,9 @@ typedef struct pglist_data {
|
|||
enum zone_type kswapd_classzone_idx;
|
||||
|
||||
int kswapd_failures; /* Number of 'reclaimed == 0' runs */
|
||||
|
||||
#ifdef CONFIG_QGKI
|
||||
ANDROID_OEM_DATA(1);
|
||||
#endif
|
||||
#ifdef CONFIG_COMPACTION
|
||||
int kcompactd_max_order;
|
||||
enum zone_type kcompactd_classzone_idx;
|
||||
|
|
|
|||
Loading…
Reference in a new issue