All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit
@ 2007-06-17 23:43 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-06-17 23:43 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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 <bunk@stusta.de>

---

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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* [2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit
@ 2007-04-28 19:19 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2007-04-28 19:19 UTC (permalink / raw)
  To: linux-kernel

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 <bunk@stusta.de>

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-17 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-17 23:43 [2.6 patch] mm/slab.c: start_cpu_timer() should be __cpuinit Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2007-04-28 19:19 Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.