From ba48da4e3c8aa2478f30f7e3b745f3a355ed9442 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 19 Jan 2012 15:05:43 +0100 Subject: syscall: flag ia64 syscall error path as unlikely Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/ia64/bits/syscalls.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/ia64') 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; \ -- cgit v1.2.3