aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-05-06 17:49:31 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:53 -0400
commita3a02be79114b854acc555e8ed686eb84f44ae2e (patch)
tree5d75b3766467558909213bc9d14bc90cf9dc8d62 /mm
parent3b1d92c56514987010bb0201b5c71aeb633fc4f8 (diff)
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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
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)
1949 * For setting up all the kmem_list3s for cache whose buffer_size is same as 1949 * For setting up all the kmem_list3s for cache whose buffer_size is same as
1950 * size of kmem_list3. 1950 * size of kmem_list3.
1951 */ 1951 */
1952static void set_up_list3s(struct kmem_cache *cachep, int index) 1952static void __init set_up_list3s(struct kmem_cache *cachep, int index)
1953{ 1953{
1954 int node; 1954 int node;
1955 1955