diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-08-16 14:52:06 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-08-16 14:52:06 +0900 |
commit | d5b7fb7bb8a014ee96cd39b410fc57a7dc239a91 (patch) | |
tree | 855a78ef1b12bd4aa9461b8f3a4b8e9f1608bfd0 | |
parent | 3e497df14d3cb900377094f36eeb8c17cec6f795 (diff) |
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>
-rw-r--r-- | arch/sh/kernel/process_32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 052981972ae6..ee22a583d48c 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c @@ -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) { |