[git commit] syscall: flag ia64 syscall error path as unlikely
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Thu Jan 26 13:46:44 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=ba48da4e3c8aa2478f30f7e3b745f3a355ed9442
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/sysdeps/linux/ia64/bits/syscalls.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/sysdeps/linux/ia64/bits/syscalls.h b/libc/sysdeps/linux/ia64/bits/syscalls.h
index 9c6a2b7..9029759 100644
--- a/libc/sysdeps/linux/ia64/bits/syscalls.h
+++ b/libc/sysdeps/linux/ia64/bits/syscalls.h
@@ -63,8 +63,8 @@
#define INLINE_SYSCALL_NCS(name, nr, args...) \
({ \
- DO_INLINE_SYSCALL_NCS (name, nr, args) \
- if (_r10 == -1) \
+ DO_INLINE_SYSCALL_NCS (name, nr, args) \
+ if (unlikely (_r10 == -1)) \
{ \
__set_errno (_retval); \
_retval = -1; \
More information about the uClibc-cvs
mailing list