Skip to contentSkip to conversation

mm/slab.c: start_cpu_timer() should be __cpuinit

PATCH New Adrian Bunk 1 participant 1 message Jun 17, 2007 Memory management

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

This patch has been sent on:
- 28 Apr 2007

mm/slab.c renamed from mm/slab.c.old +1 -1
@@ -948,7 +948,7 @@
  * 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);