projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
577a32f
)
mm/slab: fix section mismatch warning
author
Sam Ravnborg
<sam@ravnborg.org>
Thu, 17 May 2007 21:48:19 +0000
(23:48 +0200)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sat, 19 May 2007 07:11:58 +0000
(09:11 +0200)
Use the new __init_refok marker to avoid the
section mismatch warning from slab.c
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
mm/slab.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/slab.c
b/mm/slab.c
index 528243e15cc80079af034d9d035b1f8b6799bf86..2e71a328aa09540a75f83ab289a3da8931920914 100644
(file)
--- 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);