Преглед изворни кода

syscall: flag ia64 syscall error path as unlikely

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer пре 13 година
родитељ
комит
ba48da4e3c
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      libc/sysdeps/linux/ia64/bits/syscalls.h

+ 2 - 2
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;					\