Use glibc_likely instead __builtin_expect.
[jlayton/glibc.git] / elf / dl-hwcaps.c
index 86d9e9cd6dcd551aa716fd1a5e6a6d959d3ed7d4..e7c60f2fbfb004309945d13b566daa39d8617fb2 100644 (file)
@@ -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;