From: Adrian Bunk Date: Mon, 16 Jul 2007 06:38:20 +0000 (-0700) Subject: mm/slab.c: start_cpu_timer() should be __cpuinit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=897e679b17460b52752a038af29db356fe1bd759;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mm/slab.c: start_cpu_timer() should be __cpuinit start_cpu_timer() should be __cpuinit (which also matches what it's callers are). __devinit didn't cause problems, it simply wasted a few bytes of memory for the common CONFIG_HOTPLUG_CPU=n case. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab.c b/mm/slab.c index a6a2fcf8195e..a453383333fc 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -929,7 +929,7 @@ static void next_reap_node(void) * the CPUs getting into lockstep and contending for the global cache chain * lock. */ -static void __devinit start_cpu_timer(int cpu) +static void __cpuinit start_cpu_timer(int cpu) { struct delayed_work *reap_work = &per_cpu(reap_work, cpu);