diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-09-15 17:16:05 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-09-15 17:16:05 +0200 |
commit | e6e6c46d759cd013cb57eba112a4129a3a353c4b (patch) | |
tree | 12dbe6085c713832d0df037efc709e2b0b08ad2b /arch/tile/kernel/process.c | |
parent | Linux 2.6.36-rc4 (diff) | |
download | linux-e6e6c46d759cd013cb57eba112a4129a3a353c4b.tar.xz linux-e6e6c46d759cd013cb57eba112a4129a3a353c4b.zip |
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.c | 5 |
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: } #ifdef CONFIG_COMPAT -long _compat_sys_execve(char __user *path, compat_uptr_t __user *argv, - compat_uptr_t __user *envp, struct pt_regs *regs) +long _compat_sys_execve(const char __user *path, + const compat_uptr_t __user *argv, + const compat_uptr_t __user *envp, struct pt_regs *regs) { long error; char *filename; |