Browse Source

An even simpler likely

Eric Andersen 22 years ago
parent
commit
2770a21e74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/features.h

+ 1 - 1
include/features.h

@@ -422,7 +422,7 @@ uClibc was built without large file support enabled.
 #define __builtin_expect(x, expected_value) (x)
 #endif
 
-#define likely(x)		__builtin_expect(!!((int)(x)),1)
+#define likely(x)		__builtin_expect(!((int)(x)),0)
 #define unlikely(x)		__builtin_expect(((int)(x)),0)
 
 /* --- this is added to integrate linuxthreads */