From d1e51157725a4defd46c298ce1026d0f5d48da3c Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 23 Feb 2013 09:52:40 +0100 Subject: libc: switch several users to unlikely() Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/powerpc/bits/syscalls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/powerpc/bits') diff --git a/libc/sysdeps/linux/powerpc/bits/syscalls.h b/libc/sysdeps/linux/powerpc/bits/syscalls.h index 026bbf2af..c52d5dd5b 100644 --- a/libc/sysdeps/linux/powerpc/bits/syscalls.h +++ b/libc/sysdeps/linux/powerpc/bits/syscalls.h @@ -167,7 +167,7 @@ }) \ ) # define INTERNAL_SYSCALL_ERROR_P(val, err) \ - ((void) (val), __builtin_expect ((err) & (1 << 28), 0)) + ((void) (val), unlikely ((err) & (1 << 28))) # define INTERNAL_SYSCALL_ERRNO(val, err) (val) -- cgit v1.2.3