diff --git a/mm/kmemleak.c b/mm/kmemleak.c index 46c2290a08f1803a2e41d01533b627e5045e6421..8029501dc65ce02d1456d4282b8b301771c703df 100644 --- a/mm/kmemleak.c +++ b/mm/kmemleak.c @@ -1963,7 +1963,7 @@ static void kmemleak_disable(void) /* * Allow boot-time kmemleak disabling (enabled by default). */ -static int kmemleak_boot_config(char *str) +static int __init kmemleak_boot_config(char *str) { if (!str) return -EINVAL;