summaryrefslogtreecommitdiff
path: root/kernel/fork.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-02-01 13:52:48 +0000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-01 16:17:06 -0800
commit9abcf40b1d1443e6f0ef86e6a822193142a34abc (patch)
tree054b522b1e5ef7cb3d3f87985aba1d25a5d7f050 /kernel/fork.c
parentfc2dd2e51a1940acac665696e6a70a1a73dc90a4 (diff)
downloadlwn-9abcf40b1d1443e6f0ef86e6a822193142a34abc.tar.gz
lwn-9abcf40b1d1443e6f0ef86e6a822193142a34abc.zip
[PATCH] fork_idle() should be __cpuinit, not __devinit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
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;