git.samba.org
/
jlayton
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use glibc_likely instead __builtin_expect.
[jlayton/glibc.git]
/
elf
/
dl-hwcaps.c
diff --git
a/elf/dl-hwcaps.c
b/elf/dl-hwcaps.c
index 86d9e9cd6dcd551aa716fd1a5e6a6d959d3ed7d4..e7c60f2fbfb004309945d13b566daa39d8617fb2 100644
(file)
--- a/
elf/dl-hwcaps.c
+++ b/
elf/dl-hwcaps.c
@@
-133,7
+133,7
@@
_dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
len = strlen (p);
/* Skip entries that are not enabled in the mask word. */
- if (__
builtin_expect (mask & ((ElfW(Word)) 1 << bit), 1
))
+ if (__
glibc_likely (mask & ((ElfW(Word)) 1 << bit)
))
{
temp[m].str = p;
temp[m].len = len;