aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/process.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2010-09-15 11:16:05 -0400
committerChris Metcalf <cmetcalf@tilera.com>2010-09-15 11:16:05 -0400
commite6e6c46d759cd013cb57eba112a4129a3a353c4b (patch)
tree12dbe6085c713832d0df037efc709e2b0b08ad2b /arch/tile/kernel/process.c
parent49553c2ef88749dd502687f4eb9c258bb10a4f44 (diff)
arch/tile: finish const-ifying sys_execve()
The sys_execve() implementation was properly const-ified but not the declaration, the syscall wrappers, or the compat version. This change completes the constification process. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/process.c')
-rw-r--r--arch/tile/kernel/process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c
index 985cc28c74c5..88be49e3aa25 100644
--- a/arch/tile/kernel/process.c
+++ b/arch/tile/kernel/process.c
@@ -561,8 +561,9 @@ out:
561} 561}
562 562
563#ifdef CONFIG_COMPAT 563#ifdef CONFIG_COMPAT
564long _compat_sys_execve(char __user *path, compat_uptr_t __user *argv, 564long _compat_sys_execve(const char __user *path,
565 compat_uptr_t __user *envp, struct pt_regs *regs) 565 const compat_uptr_t __user *argv,
566 const compat_uptr_t __user *envp, struct pt_regs *regs)
566{ 567{
567 long error; 568 long error;
568 char *filename; 569 char *filename;