mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
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 <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
96c5865559
commit
33b5f31bbc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue