diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-02-06 04:36:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:01 -0500 |
commit | 33b5f31bbc4d047d048d8635fccdab38ffe6c287 (patch) | |
tree | c86a779e4cad14507c7e6942796c5585de433ccd | |
parent | 96c5865559cee0f9cbc5173f3c949f6ce3525581 (diff) |
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>
-rw-r--r-- | drivers/base/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index c5885f5ce0ac..499b003f9278 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); | |||
110 | * | 110 | * |
111 | * Initialize and register the CPU device. | 111 | * Initialize and register the CPU device. |
112 | */ | 112 | */ |
113 | int __devinit register_cpu(struct cpu *cpu, int num) | 113 | int __cpuinit register_cpu(struct cpu *cpu, int num) |
114 | { | 114 | { |
115 | int error; | 115 | int error; |
116 | cpu->node_id = cpu_to_node(num); | 116 | cpu->node_id = cpu_to_node(num); |