summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/ia64/bits
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-19 15:05:43 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-01-26 14:46:44 +0100
commitba48da4e3c8aa2478f30f7e3b745f3a355ed9442 (patch)
tree37ff9242259541d5c23e67e366aa011df3517014 /libc/sysdeps/linux/ia64/bits
parentc72d608a9eaa4d05a32f7d91be21841bc617f84b (diff)
syscall: flag ia64 syscall error path as unlikely
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/ia64/bits')
-rw-r--r--libc/sysdeps/linux/ia64/bits/syscalls.h4
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 9c6a2b77b..90297596b 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; \