diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-08-06 19:04:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 21:01:13 -0400 |
commit | 1536cb39338aff16b0e30cc6708da03b268337f7 (patch) | |
tree | 1c11e54786e851b2566a47cd9979a2642ad0dc98 /mm/slab.c | |
parent | 656c3b79f782a235413087168b61ff279034d860 (diff) |
mm/slab.c: add __init to init_lock_keys
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>
Diffstat (limited to 'mm/slab.c')
-rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -569,7 +569,7 @@ static inline void on_slab_lock_classes(struct kmem_cache *cachep) | |||
569 | on_slab_lock_classes_node(cachep, node); | 569 | on_slab_lock_classes_node(cachep, node); |
570 | } | 570 | } |
571 | 571 | ||
572 | static inline void init_lock_keys(void) | 572 | static inline void __init init_lock_keys(void) |
573 | { | 573 | { |
574 | int node; | 574 | int node; |
575 | 575 | ||
@@ -577,7 +577,7 @@ static inline void init_lock_keys(void) | |||
577 | init_node_lock_keys(node); | 577 | init_node_lock_keys(node); |
578 | } | 578 | } |
579 | #else | 579 | #else |
580 | static void init_node_lock_keys(int q) | 580 | static void __init init_node_lock_keys(int q) |
581 | { | 581 | { |
582 | } | 582 | } |
583 | 583 | ||