diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-07-16 02:38:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:36 -0400 |
commit | 897e679b17460b52752a038af29db356fe1bd759 (patch) | |
tree | 9b921ff267dabfbc662e4d245e6bc86a52a6f5ce | |
parent | 6ea6e6887dad1fd44e6d5020a0fd355af4f2b6b3 (diff) |
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 <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/slab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -929,7 +929,7 @@ static void next_reap_node(void) | |||
929 | * the CPUs getting into lockstep and contending for the global cache chain | 929 | * the CPUs getting into lockstep and contending for the global cache chain |
930 | * lock. | 930 | * lock. |
931 | */ | 931 | */ |
932 | static void __devinit start_cpu_timer(int cpu) | 932 | static void __cpuinit start_cpu_timer(int cpu) |
933 | { | 933 | { |
934 | struct delayed_work *reap_work = &per_cpu(reap_work, cpu); | 934 | struct delayed_work *reap_work = &per_cpu(reap_work, cpu); |
935 | 935 | ||