Commit a3a02be7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

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 <clameter@engr.sgi.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3b1d92c5
...@@ -1949,7 +1949,7 @@ static void slab_destroy(struct kmem_cache *cachep, struct slab *slabp) ...@@ -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 * For setting up all the kmem_list3s for cache whose buffer_size is same as
* size of kmem_list3. * 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; int node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment