ARC: add kmemleak support
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Tue, 19 Nov 2019 15:26:15 +0000 (18:26 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 20 Nov 2019 17:13:42 +0000 (09:13 -0800)
kmemleak is used internally for a long time and as there isn't
any issue with it we can finally enable it in upstream.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/Kconfig

index 375f9d278139b50ac43808014996b408dc380f17..a00a1d46cf01a939b286dbeac5c82f79a44aa531 100644 (file)
@@ -30,6 +30,7 @@ config ARC
        select HAVE_ARCH_KGDB
        select HAVE_ARCH_TRACEHOOK
        select HAVE_DEBUG_STACKOVERFLOW
+       select HAVE_DEBUG_KMEMLEAK
        select HAVE_FUTEX_CMPXCHG if FUTEX
        select HAVE_IOREMAP_PROT
        select HAVE_KERNEL_GZIP