mm/kmemleak.c: make kmemleak_boot_config() __init
authorDou Liyang <[email protected]>
Thu, 5 Apr 2018 23:23:46 +0000 (16:23 -0700)
committerLinus Torvalds <[email protected]>
Fri, 6 Apr 2018 04:36:26 +0000 (21:36 -0700)
commit8bd30c1090995ce800ae257fbbabfd6b6899b57c
tree8d827c4c88604a4ca06c3bcd1b8d198820770228
parente9e9b7ecee4a139a6fbe2e15ef224ca6b6c47d57
mm/kmemleak.c: make kmemleak_boot_config() __init

The early_param() is only called during kernel initialization, So Linux
marks the functions of it with __init macro to save memory.

But it forgot to mark the kmemleak_boot_config().  So, Make it __init as
well.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Dou Liyang <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Catalin Marinas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/kmemleak.c