diff options
Diffstat (limited to 'arch/sh/kernel/sys_sh.c')
-rw-r--r-- | arch/sh/kernel/sys_sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index 5083b6ed4b39..f38874def74b 100644 --- a/arch/sh/kernel/sys_sh.c +++ b/arch/sh/kernel/sys_sh.c | |||
@@ -324,7 +324,7 @@ int kernel_execve(const char *filename, char *const argv[], char *const envp[]) | |||
324 | register long __sc4 __asm__ ("r4") = (long) filename; | 324 | register long __sc4 __asm__ ("r4") = (long) filename; |
325 | register long __sc5 __asm__ ("r5") = (long) argv; | 325 | register long __sc5 __asm__ ("r5") = (long) argv; |
326 | register long __sc6 __asm__ ("r6") = (long) envp; | 326 | register long __sc6 __asm__ ("r6") = (long) envp; |
327 | __asm__ __volatile__ ("trapa #0x13" : "=z" (__sc0) | 327 | __asm__ __volatile__ (SYSCALL_ARG3 : "=z" (__sc0) |
328 | : "0" (__sc0), "r" (__sc4), "r" (__sc5), "r" (__sc6) | 328 | : "0" (__sc0), "r" (__sc4), "r" (__sc5), "r" (__sc6) |
329 | : "memory"); | 329 | : "memory"); |
330 | return __sc0; | 330 | return __sc0; |