diff options
| author | Fabian Frederick <[email protected]> | 2014-08-06 16:04:05 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-08-06 18:01:13 -0700 |
| commit | 1536cb39338aff16b0e30cc6708da03b268337f7 (patch) | |
| tree | 1c11e54786e851b2566a47cd9979a2642ad0dc98 | |
| 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 <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Acked-by: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
| -rw-r--r-- | mm/slab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c index 3070b929a1bf..18ac44b7558d 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -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) { } |