You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
ANDROID: GKI: add OEM data in cma struct
Add OEM data in cma struct to store and report additional information for cma memory leak debugging. Bug: 187861160 Change-Id: Iffb772d23ac30087cb561d8a8b7ad821b41c3840 Signed-off-by: rongqianfeng <rongqianfeng@vivo.com>
This commit is contained in:
2
mm/cma.h
2
mm/cma.h
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/kobject.h>
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
struct cma_kobject {
|
||||
struct kobject kobj;
|
||||
@@ -30,6 +31,7 @@ struct cma {
|
||||
/* kobject requires dynamic object */
|
||||
struct cma_kobject *cma_kobj;
|
||||
#endif
|
||||
ANDROID_OEM_DATA_ARRAY(1, 4);
|
||||
};
|
||||
|
||||
extern struct cma cma_areas[MAX_CMA_AREAS];
|
||||
|
||||
Reference in New Issue
Block a user