diff options
author | Dou Liyang | 2018-04-06 01:23:46 +0200 |
---|---|---|
committer | Linus Torvalds | 2018-04-06 06:36:26 +0200 |
commit | 8bd30c1090995ce800ae257fbbabfd6b6899b57c (patch) | |
tree | 8d827c4c88604a4ca06c3bcd1b8d198820770228 /mm/page_owner.c | |
parent | mm: swap: unify cluster-based and vma-based swap readahead (diff) | |
download | kernel-qcow2-linux-8bd30c1090995ce800ae257fbbabfd6b6899b57c.tar.gz kernel-qcow2-linux-8bd30c1090995ce800ae257fbbabfd6b6899b57c.tar.xz kernel-qcow2-linux-8bd30c1090995ce800ae257fbbabfd6b6899b57c.zip |
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/20180117034720.26897-1-douly.fnst@cn.fujitsu.com
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_owner.c')
0 files changed, 0 insertions, 0 deletions