init_lock_keys is only called by __init kmem_cache_init_late
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Christoph Lameter <cl@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
on_slab_lock_classes_node(cachep, node);
}
-static inline void init_lock_keys(void)
+static inline void __init init_lock_keys(void)
{
int node;
init_node_lock_keys(node);
}
#else
-static void init_node_lock_keys(int q)
+static void __init init_node_lock_keys(int q)
{
}