powerpc: switch to generic sys_execve()/kernel_execve()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 Aug 2012 19:48:05 +0000 (15:48 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 1 Oct 2012 03:35:51 +0000 (23:35 -0400)
commitbe6abfa769fa07ce89ac73273360b335ae978805
treee6b9ba23767a93839c5e4e14f197d4781bf95cf4
parent58254e1002a82eb383c5977ad9fd5a451b91fe29
powerpc: switch to generic sys_execve()/kernel_execve()

the only non-obvious part is that current_pt_regs() is really needed
here - task_pt_regs() is NULL for kernel threads; it's OK for ptrace
uses (the thing task_pt_regs() is intended for), but not for us.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/powerpc/include/asm/ptrace.h
arch/powerpc/include/asm/syscalls.h
arch/powerpc/include/asm/unistd.h
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/misc.S
arch/powerpc/kernel/process.c
arch/powerpc/kernel/sys_ppc32.c