From: Al Viro Date: Thu, 1 Feb 2007 13:52:48 +0000 (+0000) Subject: [PATCH] fork_idle() should be __cpuinit, not __devinit X-Git-Tag: v2.6.20~32 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9abcf40b1d1443e6f0ef86e6a822193142a34abc;p=linux-2.6 [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 fc723e595c..d57118da73 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;