summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/sys_sh.c
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2006-12-07 12:07:27 +0300
committerPaul Mundt <lethal@linux-sh.org>2006-12-12 02:42:07 +0300
commit11cbb70ea326e8ec78b2beb2b0c85c9ec71c279b (patch)
treec165c1228ef1c921663c0b8d347480c8e94e25be /arch/sh/kernel/sys_sh.c
parent780a1568886a2f5df9bf11b72ba0624c80db5b3b (diff)
downloadlinux-11cbb70ea326e8ec78b2beb2b0c85c9ec71c279b.tar.xz
sh: Trivial build fixes for SH-2 support.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/sys_sh.c')
-rw-r--r--arch/sh/kernel/sys_sh.c2
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[])
register long __sc4 __asm__ ("r4") = (long) filename;
register long __sc5 __asm__ ("r5") = (long) argv;
register long __sc6 __asm__ ("r6") = (long) envp;
- __asm__ __volatile__ ("trapa #0x13" : "=z" (__sc0)
+ __asm__ __volatile__ (SYSCALL_ARG3 : "=z" (__sc0)
: "0" (__sc0), "r" (__sc4), "r" (__sc5), "r" (__sc6)
: "memory");
return __sc0;