Commit 1536cb39 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

mm/slab.c: add __init to init_lock_keys

init_lock_keys is only called by __init kmem_cache_init_late
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Acked-by: default avatarChristoph Lameter <cl@linux.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 656c3b79
......@@ -569,7 +569,7 @@ static inline void on_slab_lock_classes(struct kmem_cache *cachep)
on_slab_lock_classes_node(cachep, node);
}
static inline void init_lock_keys(void)
static inline void __init init_lock_keys(void)
{
int node;
......@@ -577,7 +577,7 @@ static inline void init_lock_keys(void)
init_node_lock_keys(node);
}
#else
static void init_node_lock_keys(int q)
static void __init init_node_lock_keys(int q)
{
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment