summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-23 04:53:20 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 05:43:42 +0100
commit18c26c27ae0abe82253cb2e2363df465dbbb657e (patch)
treeb822ed3267443e0b4b05e852fb0d2b709b916c65 /kernel
parentdon't pass regs to copy_process() (diff)
downloadlinux-18c26c27ae0abe82253cb2e2363df465dbbb657e.tar.xz
linux-18c26c27ae0abe82253cb2e2363df465dbbb657e.zip
death to idle_regs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/fork.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index fa24a78b94f2..0e68b6686acb 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1514,12 +1514,6 @@ fork_out:
return ERR_PTR(retval);
}
-noinline struct pt_regs * __cpuinit __attribute__((weak)) idle_regs(struct pt_regs *regs)
-{
- memset(regs, 0, sizeof(struct pt_regs));
- return regs;
-}
-
static inline void init_idle_pids(struct pid_link *links)
{
enum pid_type type;