diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 8adfe5ddb688..3995297567a9 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1399,7 +1399,7 @@ fork_out: | |||
1399 | return ERR_PTR(retval); | 1399 | return ERR_PTR(retval); |
1400 | } | 1400 | } |
1401 | 1401 | ||
1402 | noinline struct pt_regs * __devinit __attribute__((weak)) idle_regs(struct pt_regs *regs) | 1402 | noinline struct pt_regs * __cpuinit __attribute__((weak)) idle_regs(struct pt_regs *regs) |
1403 | { | 1403 | { |
1404 | memset(regs, 0, sizeof(struct pt_regs)); | 1404 | memset(regs, 0, sizeof(struct pt_regs)); |
1405 | return regs; | 1405 | return regs; |