summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-08-10 08:01:17 +0000
committerEric Andersen <andersen@codepoet.org>2003-08-10 08:01:17 +0000
commit2770a21e748c7538200868efda845ee1870ff9bf (patch)
treed05ea525d89e620ec48f88afa7ca1cb1292810f7
parent93488c77e99742dd269f6a56b79694f1c99a5532 (diff)
An even simpler likely
-rw-r--r--include/features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h
index bc3619f7e..6bf8bc2fa 100644
--- a/include/features.h
+++ b/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 */