]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: fix up fallout from syscall arg constification.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 16 Aug 2010 05:52:06 +0000 (14:52 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 16 Aug 2010 05:52:06 +0000 (14:52 +0900)
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>
arch/sh/kernel/process_32.c

index 052981972ae68ecd299a00bf8ca1196de6605507..ee22a583d48c7be2522bed0a881a39c358099b97 100644 (file)
@@ -296,7 +296,8 @@ asmlinkage int sys_vfork(unsigned long r4, unsigned long r5,
 /*
  * sys_execve() executes a new program.
  */
-asmlinkage int sys_execve(char __user *ufilename, char __user * __user *uargv,
+asmlinkage int sys_execve(const char __user *ufilename,
+                         char __user * __user *uargv,
                          char __user * __user *uenvp, unsigned long r7,
                          struct pt_regs __regs)
 {