From: Andrew Morton Date: Sun, 6 May 2007 21:49:31 +0000 (-0700) Subject: slab: mark set_up_list3s() __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a3a02be79114b854acc555e8ed686eb84f44ae2e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git slab: mark set_up_list3s() __init It is only ever used prior to free_initmem(). (It will cause a warning when we run the section checking, but that's a false-positive and it simply changes the source of an existing warning, which is also a false-positive) Cc: Christoph Lameter Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab.c b/mm/slab.c index 1f2627cc45d0..9cd01fa60004 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1949,7 +1949,7 @@ static void slab_destroy(struct kmem_cache *cachep, struct slab *slabp) * For setting up all the kmem_list3s for cache whose buffer_size is same as * size of kmem_list3. */ -static void set_up_list3s(struct kmem_cache *cachep, int index) +static void __init set_up_list3s(struct kmem_cache *cachep, int index) { int node;