OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93488c7
)
An even simpler likely
author
Eric Andersen
<andersen@codepoet.org>
Sun, 10 Aug 2003 08:01:17 +0000
(08:01 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sun, 10 Aug 2003 08:01:17 +0000
(08:01 -0000)
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index
bc3619f
..
6bf8bc2
100644
(file)
--- 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 */