Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 897e679b authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

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: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6ea6e688
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);