module: Move kmemleak support to a separate file
authorAaron Tomlin <atomlin@redhat.com>
Tue, 22 Mar 2022 14:03:38 +0000 (14:03 +0000)
committerLuis Chamberlain <mcgrof@kernel.org>
Tue, 5 Apr 2022 15:43:04 +0000 (08:43 -0700)
commit473c84d1856e83faebf059a52a8e49bdb89026d3
tree71f68a36c00062bb387ede5017a9733dfe1c183c
parent0c1e42805c25c87eb7a6f3b18bdbf3b3b7840aff
module: Move kmemleak support to a separate file

No functional change.

This patch migrates kmemleak code out of core module
code into kernel/module/debug_kmemleak.c

Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/Makefile
kernel/module/debug_kmemleak.c [new file with mode: 0644]
kernel/module/internal.h
kernel/module/main.c