diff options
Diffstat (limited to 'arch/frv/kernel/process.c')
-rw-r--r-- | arch/frv/kernel/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/frv/kernel/process.c b/arch/frv/kernel/process.c index f0c767a56c65..515a5cea5469 100644 --- a/arch/frv/kernel/process.c +++ b/arch/frv/kernel/process.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/reboot.h> | 26 | #include <linux/reboot.h> |
27 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
28 | 28 | ||
29 | #include <asm/asm-offsets.h> | ||
29 | #include <asm/uaccess.h> | 30 | #include <asm/uaccess.h> |
30 | #include <asm/system.h> | 31 | #include <asm/system.h> |
31 | #include <asm/setup.h> | 32 | #include <asm/setup.h> |
@@ -207,7 +208,7 @@ int copy_thread(int nr, unsigned long clone_flags, | |||
207 | 208 | ||
208 | regs0 = __kernel_frame0_ptr; | 209 | regs0 = __kernel_frame0_ptr; |
209 | childregs0 = (struct pt_regs *) | 210 | childregs0 = (struct pt_regs *) |
210 | (task_stack_page(p) + THREAD_SIZE - USER_CONTEXT_SIZE); | 211 | (task_stack_page(p) + THREAD_SIZE - FRV_FRAME0_SIZE); |
211 | childregs = childregs0; | 212 | childregs = childregs0; |
212 | 213 | ||
213 | /* set up the userspace frame (the only place that the USP is stored) */ | 214 | /* set up the userspace frame (the only place that the USP is stored) */ |