]> git.hungrycats.org Git - linux/commitdiff
[PATCH] start_cpu_timer() cannot be __init
authorAndrew Morton <akpm@osdl.org>
Sun, 21 Mar 2004 00:37:31 +0000 (16:37 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 21 Mar 2004 00:37:31 +0000 (16:37 -0800)
It's now called from the CPU hot-add notifier.

mm/slab.c

index fd0ab945f8c2c52d9516c2ec4ce67b4d8462de4d..805c37c18d7404e8709c85f9fa69e692e9d58f44 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 __init start_cpu_timer(int cpu)
+static void __devinit start_cpu_timer(int cpu)
 {
        struct timer_list *rt = &per_cpu(reap_timers, cpu);