diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-19 04:33:44 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-01 06:53:11 +0200 |
commit | 019f96a345b6e23d4e0bc2c136ec5f7500b95834 (patch) | |
tree | 25fe5b25d9312962b589f8e02778008414b3e75b /arch/frv/include/asm/processor.h | |
parent | frv: switch to generic sys_execve() (diff) | |
download | linux-019f96a345b6e23d4e0bc2c136ec5f7500b95834.tar.xz linux-019f96a345b6e23d4e0bc2c136ec5f7500b95834.zip |
frv: switch to generic kernel_execve
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/frv/include/asm/processor.h')
-rw-r--r-- | arch/frv/include/asm/processor.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/frv/include/asm/processor.h b/arch/frv/include/asm/processor.h index dccb9d162318..cc86e07a4119 100644 --- a/arch/frv/include/asm/processor.h +++ b/arch/frv/include/asm/processor.h @@ -92,14 +92,12 @@ extern struct task_struct *__kernel_current_task; /* * do necessary setup to start up a newly executed thread. - * - need to discard the frame stacked by init() invoking the execve syscall */ #define start_thread(_regs, _pc, _usp) \ do { \ - __frame = __kernel_frame0_ptr; \ - __frame->pc = (_pc); \ - __frame->psr &= ~PSR_S; \ - __frame->sp = (_usp); \ + _regs->pc = (_pc); \ + _regs->psr &= ~PSR_S; \ + _regs->sp = (_usp); \ } while(0) /* Free all resources held by a thread. */ |