diff options
Diffstat (limited to 'arch/sh/kernel/sys_sh64.c')
-rw-r--r-- | arch/sh/kernel/sys_sh64.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sh/kernel/sys_sh64.c b/arch/sh/kernel/sys_sh64.c index 91fb8445a5a0..c5a38c4bf410 100644 --- a/arch/sh/kernel/sys_sh64.c +++ b/arch/sh/kernel/sys_sh64.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/stat.h> | 23 | #include <linux/stat.h> |
24 | #include <linux/mman.h> | 24 | #include <linux/mman.h> |
25 | #include <linux/file.h> | 25 | #include <linux/file.h> |
26 | #include <linux/utsname.h> | ||
27 | #include <linux/syscalls.h> | 26 | #include <linux/syscalls.h> |
28 | #include <linux/ipc.h> | 27 | #include <linux/ipc.h> |
29 | #include <asm/uaccess.h> | 28 | #include <asm/uaccess.h> |
@@ -34,7 +33,9 @@ | |||
34 | * Do a system call from kernel instead of calling sys_execve so we | 33 | * Do a system call from kernel instead of calling sys_execve so we |
35 | * end up with proper pt_regs. | 34 | * end up with proper pt_regs. |
36 | */ | 35 | */ |
37 | int kernel_execve(const char *filename, char *const argv[], char *const envp[]) | 36 | int kernel_execve(const char *filename, |
37 | const char *const argv[], | ||
38 | const char *const envp[]) | ||
38 | { | 39 | { |
39 | register unsigned long __sc0 __asm__ ("r9") = ((0x13 << 16) | __NR_execve); | 40 | register unsigned long __sc0 __asm__ ("r9") = ((0x13 << 16) | __NR_execve); |
40 | register unsigned long __sc2 __asm__ ("r2") = (unsigned long) filename; | 41 | register unsigned long __sc2 __asm__ ("r2") = (unsigned long) filename; |