mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
soc: qcom: minidump_log: Protect md_dump_slabinfo under SLUB_DEBUG
Protect md_dump_slabinfo call only if SLUB_DEBUG is enabled. Change-Id: I1f703e039517dd24fad303f830a6a30a3f32c3f7 Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
This commit is contained in:
parent
e602774fc1
commit
ae146b9a20
1 changed files with 1 additions and 1 deletions
|
|
@ -1006,10 +1006,10 @@ dump_rq:
|
|||
if (md_meminfo_seq_buf)
|
||||
md_dump_meminfo();
|
||||
|
||||
#ifdef CONFIG_SLUB_DEBUG
|
||||
if (md_slabinfo_seq_buf)
|
||||
md_dump_slabinfo();
|
||||
|
||||
#ifdef CONFIG_SLUB_DEBUG
|
||||
if (md_slabowner_dump_addr)
|
||||
md_dump_slabowner();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue