[2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit

2007-06-17 Thread Adrian Bunk
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 <[EMAIL PROTECTED]>

---

This patch has been sent on:
- 28 Apr 2007

--- linux-2.6.21-rc7-mm2/mm/slab.c.old  2007-04-28 14:26:44.0 +0200
+++ linux-2.6.21-rc7-mm2/mm/slab.c  2007-04-28 14:26:54.0 +0200
@@ -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 = _cpu(reap_work, cpu);
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit

2007-06-17 Thread Adrian Bunk
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 [EMAIL PROTECTED]

---

This patch has been sent on:
- 28 Apr 2007

--- linux-2.6.21-rc7-mm2/mm/slab.c.old  2007-04-28 14:26:44.0 +0200
+++ linux-2.6.21-rc7-mm2/mm/slab.c  2007-04-28 14:26:54.0 +0200
@@ -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);
 

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit

2007-04-28 Thread Adrian Bunk
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 <[EMAIL PROTECTED]>

---
--- linux-2.6.21-rc7-mm2/mm/slab.c.old  2007-04-28 14:26:44.0 +0200
+++ linux-2.6.21-rc7-mm2/mm/slab.c  2007-04-28 14:26:54.0 +0200
@@ -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 = _cpu(reap_work, cpu);
 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit

2007-04-28 Thread Adrian Bunk
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 [EMAIL PROTECTED]

---
--- linux-2.6.21-rc7-mm2/mm/slab.c.old  2007-04-28 14:26:44.0 +0200
+++ linux-2.6.21-rc7-mm2/mm/slab.c  2007-04-28 14:26:54.0 +0200
@@ -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);
 

-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/