Skip to content

Commit 8eabad5

Browse files
CV-Bowenxiaoxiang781216
authored andcommitted
mm/Kconfig: fix build error when MM_BACKTRACE > 0 and disable mempool
mempool is always be compiled, so when enable BACKTRACE but not enable memdpool, the MM_HEAP_MEMPOOL_BACKTRACE_SKIP is not defined mempool_add_backtrace() will compiled failed. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
1 parent a1f3800 commit 8eabad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ config MM_HEAP_MEMPOOL_CHUNK_SIZE
241241
config MM_HEAP_MEMPOOL_BACKTRACE_SKIP
242242
int "The skip depth of backtrace for mempool"
243243
default 6
244-
depends on MM_HEAP_MEMPOOL_THRESHOLD != 0 && MM_BACKTRACE > 0
244+
depends on MM_BACKTRACE > 0
245245
---help---
246246
This number is the skipped backtrace depth for mempool.
247247

0 commit comments

Comments
 (0)