]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
commit a3a02be79114b854acc555e8ed686eb84f44ae2e git-0e0be25d31f75f64b6fbe00f0b4e5d6b1ad1438e-xen
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:21 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:21 +0000 (12:05 +0000)
Author: Andrew Morton <akpm@linux-foundation.org>
Date:   Sun May 6 14:49:31 2007 -0700

    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>
mm/slab.c

index 0a942398a2151005e12f8aa7b139c80ac5a81e83..ec30f0c94c59e4456d53af42490202a2e5da73e5 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1822,7 +1822,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;