From: Al Viro Date: Thu, 1 Feb 2007 13:52:48 +0000 (+0000) Subject: [PATCH] fork_idle() should be __cpuinit, not __devinit X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9abcf40b1d1443e6f0ef86e6a822193142a34abc;p=openwrt%2Fstaging%2Fblogic.git [PATCH] fork_idle() should be __cpuinit, not __devinit Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/kernel/fork.c b/kernel/fork.c index fc723e595cd5..d57118da73ff 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -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;