OSDN Git Service

ARC: syscalls.h: code-reuse/fix-arg-annotations
authorVineet Gupta <vgupta@synopsys.com>
Thu, 26 Jun 2014 06:03:31 +0000 (11:33 +0530)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Tue, 22 Jul 2014 07:50:50 +0000 (09:50 +0200)
commite16dc639784ffbe64df198f518c433fb14d230e5
treefb320d120127b580072f68ea83b89f0ba2c18911
parenta427368f140f4bc94f806f912286dc1849a9fb93
ARC: syscalls.h: code-reuse/fix-arg-annotations

- Use syscalls-common.h vers of INTERNAL_SYSCALL / INLINE_SYSCALL_NOERR
- INLINE_SYSCALL takes syscall name (e.g. write)
- {INLINE,INTERNAL}_SYSCALL_NCS macros take syscall num (__NR_write)

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/arc/bits/syscalls.h