projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c5865
)
register_cpu __devinit or __cpuinit
author
Randy Dunlap
<randy.dunlap@oracle.com>
Wed, 6 Feb 2008 09:36:28 +0000
(
01:36
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:01 +0000
(10:41 -0800)
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>
drivers/base/cpu.c
patch
|
blob
|
history
diff --git
a/drivers/base/cpu.c
b/drivers/base/cpu.c
index
c5885f5
..
499b003
100644
(file)
--- 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 __
dev
init register_cpu(struct cpu *cpu, int num)
+int __
cpu
init register_cpu(struct cpu *cpu, int num)
{
int error;
cpu->node_id = cpu_to_node(num);