Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: fix up fallout from syscall arg constification.

sys_execve() now takes a const pointer, so reflect this change where the
syscall is actually defined, too. Fixes up a build error due to prototype
mismatch.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+2 -1
+2 -1
arch/sh/kernel/process_32.c
··· 296 296 /* 297 297 * sys_execve() executes a new program. 298 298 */ 299 - asmlinkage int sys_execve(char __user *ufilename, char __user * __user *uargv, 299 + asmlinkage int sys_execve(const char __user *ufilename, 300 + char __user * __user *uargv, 300 301 char __user * __user *uenvp, unsigned long r7, 301 302 struct pt_regs __regs) 302 303 {