mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 21:52:04 +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
@ -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 New Issue
Block a user