[PATCH] fork_idle() should be __cpuinit, not __devinit
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 1 Feb 2007 13:52:48 +0000 (13:52 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 2 Feb 2007 00:17:06 +0000 (16:17 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/fork.c

index fc723e5..d57118d 100644 (file)
@@ -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;