mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mm/zsmalloc: add __init,__exit attribute
Add __init,__exit attribute for function that only called in module init/exit to save memory. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ganesh Mahendran <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Minchan Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fd8544639e
commit
35b3445e97
1 changed files with 1 additions and 1 deletions
|
|
@ -1341,7 +1341,7 @@ static void zs_unregister_cpu_notifier(void)
|
|||
cpu_notifier_register_done();
|
||||
}
|
||||
|
||||
static void init_zs_size_classes(void)
|
||||
static void __init init_zs_size_classes(void)
|
||||
{
|
||||
int nr;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue