Skip to contentSkip to conversation

fork_idle() should be __cpuinit, not __devinit

PATCH New Al Viro 1 participant 1 message Feb 1, 2007

Subsystems (3)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 fork_idle() should be __cpuinit, not __devinit

---
 kernel/fork.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/fork.c +1 -1
index fc723e5..d57118d 100644
@@ -1313,7 +1313,7 @@ noinline struct pt_regs * __devinit __attribute__((weak)) idle_regs(struct pt_re
 	return regs;
 }
 
-struct task_struct * __devinit fork_idle(int cpu)
+struct task_struct * __cpuinit fork_idle(int cpu)
 {
 	struct task_struct *task;
 	struct pt_regs regs;
Signature · 1 line
1.5.0-rc2.GIT