Commit c8f018d2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] start_cpu_timer() cannot be __init

It's now called from the CPU hot-add notifier.
parent 33cc912c
...@@ -576,7 +576,7 @@ static void __slab_error(const char *function, kmem_cache_t *cachep, char *msg) ...@@ -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 * 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. * 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); struct timer_list *rt = &per_cpu(reap_timers, cpu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment