diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-20 12:24:26 -0600 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-02-20 12:24:26 -0600 |
commit | d4389d613cc49f776fffe5ee0f9af854e9a93074 (patch) | |
tree | acb65e19f6482e2599e31003c9a811154580a23c /libc/sysdeps/linux/arc/bits/syscalls.h | |
parent | 42e9e0a0406473a9b017342eaffc03c85f9bb51b (diff) | |
parent | 409f14d9b5e47513d5c939120a33965997c8ceb2 (diff) |
sync with uClibc
Diffstat (limited to 'libc/sysdeps/linux/arc/bits/syscalls.h')
-rw-r--r-- | libc/sysdeps/linux/arc/bits/syscalls.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/arc/bits/syscalls.h b/libc/sysdeps/linux/arc/bits/syscalls.h index 5da6aadb3..248ef7844 100644 --- a/libc/sysdeps/linux/arc/bits/syscalls.h +++ b/libc/sysdeps/linux/arc/bits/syscalls.h @@ -98,7 +98,11 @@ extern int __syscall_error (int); * for syscall itself. *-------------------------------------------------------------------------*/ -#define ARC_TRAP_INSN "trap0 \n\t" +#ifdef __A7__ +#define ARC_TRAP_INSN "trap0 \n\t" +#elif defined(__HS__) +#define ARC_TRAP_INSN "trap_s 0 \n\t" +#endif #define INTERNAL_SYSCALL_NCS(nm, err, nr_args, args...) \ ({ \ @@ -176,7 +180,11 @@ extern int __syscall_error (int); #else +#ifdef __A7__ #define ARC_TRAP_INSN trap0 +#elif defined(__HS__) +#define ARC_TRAP_INSN trap_s 0 +#endif #endif /* __ASSEMBLER__ */ |