From: Randy Dunlap Date: Wed, 6 Feb 2008 09:36:28 +0000 (-0800) Subject: register_cpu __devinit or __cpuinit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33b5f31bbc4d047d048d8635fccdab38ffe6c287;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git register_cpu __devinit or __cpuinit Is there some reason why register_cpu() is __devinit instead of __cpuinit ? Make it __cpuinit. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index c5885f5ce0a..499b003f927 100644 --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c @@ -110,7 +110,7 @@ static SYSDEV_ATTR(crash_notes, 0400, show_crash_notes, NULL); * * Initialize and register the CPU device. */ -int __devinit register_cpu(struct cpu *cpu, int num) +int __cpuinit register_cpu(struct cpu *cpu, int num) { int error; cpu->node_id = cpu_to_node(num);