ANDROID: mm: slab: Fix 'merge changes moved struct track' issue
Local commit1fb8e678a5("ANDROID: mm: add get_each_object_track function") moves 'struct track' from mm/slub.c to mm/slab.h to make it public. Then upstream commit788691464c("mm/slub: use stackdepot to save stack trace in objects") adapts the struct from its old location. For whatever reason this goes unnoticed by Git during the merge process and the change is lost into the ether. This patch replicates the change in the new location. Bug: 193130194 Fixes:1fb8e678a5("ANDROID: mm: add get_each_object_track function") Fixes:788691464c("mm/slub: use stackdepot to save stack trace in objects") Signed-off-by: Lee Jones <lee.jones@linaro.org> Change-Id: Ie9a3c3f6ccbf6434f06ffc4e1598f2d096a1fa94
This commit is contained in:
@@ -98,8 +98,8 @@ gfp_t kmalloc_fix_flags(gfp_t flags);
|
|||||||
#define TRACK_ADDRS_COUNT 16
|
#define TRACK_ADDRS_COUNT 16
|
||||||
struct track {
|
struct track {
|
||||||
unsigned long addr; /* Called from address */
|
unsigned long addr; /* Called from address */
|
||||||
#ifdef CONFIG_STACKTRACE
|
#ifdef CONFIG_STACKDEPOT
|
||||||
unsigned long addrs[TRACK_ADDRS_COUNT]; /* Called from address */
|
depot_stack_handle_t handle;
|
||||||
#endif
|
#endif
|
||||||
int cpu; /* Was running on cpu */
|
int cpu; /* Was running on cpu */
|
||||||
int pid; /* Pid context */
|
int pid; /* Pid context */
|
||||||
|
|||||||
Reference in New Issue
Block a user