浏览代码

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