From c8f018d24e2e83e68110dc97ce7a8c51bb87d588 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 20 Mar 2004 16:37:31 -0800 Subject: [PATCH] [PATCH] start_cpu_timer() cannot be __init It's now called from the CPU hot-add notifier. --- mm/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slab.c b/mm/slab.c index fd0ab945f8c2c..805c37c18d740 100644 --- 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); -- 2.53.0