diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-22 22:53:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 23:43:42 -0500 |
commit | 18c26c27ae0abe82253cb2e2363df465dbbb657e (patch) | |
tree | b822ed3267443e0b4b05e852fb0d2b709b916c65 /kernel/fork.c | |
parent | 62e791c1b8ea481c72c299dee4f62c04aaef765c (diff) |
death to idle_regs()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 6 |
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: | |||
1514 | return ERR_PTR(retval); | 1514 | return ERR_PTR(retval); |
1515 | } | 1515 | } |
1516 | 1516 | ||
1517 | noinline struct pt_regs * __cpuinit __attribute__((weak)) idle_regs(struct pt_regs *regs) | ||
1518 | { | ||
1519 | memset(regs, 0, sizeof(struct pt_regs)); | ||
1520 | return regs; | ||
1521 | } | ||
1522 | |||
1523 | static inline void init_idle_pids(struct pid_link *links) | 1517 | static inline void init_idle_pids(struct pid_link *links) |
1524 | { | 1518 | { |
1525 | enum pid_type type; | 1519 | enum pid_type type; |