]> git.hungrycats.org Git - linux/commitdiff
[PATCH] slab: start_cpu_timer() can be __init
authorAndrew Morton <akpm@osdl.org>
Thu, 18 Mar 2004 23:01:05 +0000 (15:01 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 18 Mar 2004 23:01:05 +0000 (15:01 -0800)
From: "Randy.Dunlap" <rddunlap@osdl.org>

From: Luiz Fernando Capitulino <lcapitulino@prefeitura.sp.gov.br>

mm/slab.c

index 2ae3347f0ef4f8380f6091dce2bce5e3dbfc07f9..d9f7c4be5102b3f92f87be85b7ef30ebf0260ef9 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -576,7 +576,7 @@ static void __slab_error(const char *function, kmem_cache_t *cachep, char *msg)
  * Add the CPU number into the expiry time to minimize the possibility of the
  * CPUs getting into lockstep and contending for the global cache chain lock.
  */
-static void start_cpu_timer(int cpu)
+static void __init start_cpu_timer(int cpu)
 {
        struct timer_list *rt = &per_cpu(reap_timers, cpu);