diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-05-17 17:48:19 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-19 03:11:58 -0400 |
commit | 38bdc32af442b6ab09ed61b8b669072098c95dd2 (patch) | |
tree | 8c6a6c3234383b94d7c68183b9e3bb071764d7f0 | |
parent | 577a32f620271416d05f852477151fb51c790bc6 (diff) |
mm/slab: fix section mismatch warning
Use the new __init_refok marker to avoid the
section mismatch warning from slab.c
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2037,7 +2037,7 @@ static size_t calculate_slab_order(struct kmem_cache *cachep, | |||
2037 | return left_over; | 2037 | return left_over; |
2038 | } | 2038 | } |
2039 | 2039 | ||
2040 | static int setup_cpu_cache(struct kmem_cache *cachep) | 2040 | static int __init_refok setup_cpu_cache(struct kmem_cache *cachep) |
2041 | { | 2041 | { |
2042 | if (g_cpucache_up == FULL) | 2042 | if (g_cpucache_up == FULL) |
2043 | return enable_cpucache(cachep); | 2043 | return enable_cpucache(cachep); |