mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6ea6e6887d
commit
897e679b17
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue