Skip to content

Commit 5d55377

Browse files
seehearfeelchenhuacai
authored andcommitted
LoongArch: Select HAVE_DEBUG_KMEMLEAK to support kmemleak
We can see that DEBUG_KMEMLEAK depends on HAVE_DEBUG_KMEMLEAK after commit b69ec42 ("Kconfig: clean up the long arch list for the DEBUG_KMEMLEAK config option"), just select HAVE_DEBUG_KMEMLEAK to support kmemleak on LoongArch. Signed-off-by: Tiezhu Yang <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent 31f1a8b commit 5d55377

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Documentation/features/debug/kmemleak/arch-support.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| csky: | ok |
1414
| hexagon: | TODO |
1515
| ia64: | TODO |
16-
| loongarch: | TODO |
16+
| loongarch: | ok |
1717
| m68k: | TODO |
1818
| microblaze: | ok |
1919
| mips: | ok |

arch/loongarch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ config LOONGARCH
9494
select HAVE_ASM_MODVERSIONS
9595
select HAVE_CONTEXT_TRACKING_USER
9696
select HAVE_C_RECORDMCOUNT
97+
select HAVE_DEBUG_KMEMLEAK
9798
select HAVE_DEBUG_STACKOVERFLOW
9899
select HAVE_DMA_CONTIGUOUS
99100
select HAVE_DYNAMIC_FTRACE

0 commit comments

Comments
 (0)