summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-05-17 23:48:19 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 09:11:58 +0200
commit38bdc32af442b6ab09ed61b8b669072098c95dd2 (patch)
tree8c6a6c3234383b94d7c68183b9e3bb071764d7f0 /mm/slab.c
parent577a32f620271416d05f852477151fb51c790bc6 (diff)
downloadblackbird-op-linux-38bdc32af442b6ab09ed61b8b669072098c95dd2.tar.gz
blackbird-op-linux-38bdc32af442b6ab09ed61b8b669072098c95dd2.zip
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>
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 528243e15cc8..2e71a328aa09 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -2037,7 +2037,7 @@ static size_t calculate_slab_order(struct kmem_cache *cachep,
return left_over;
}
-static int setup_cpu_cache(struct kmem_cache *cachep)
+static int __init_refok setup_cpu_cache(struct kmem_cache *cachep)
{
if (g_cpucache_up == FULL)
return enable_cpucache(cachep);
OpenPOWER on IntegriCloud