diff options
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/exec-all.h b/exec-all.h index 434605d8d1..39cb536adc 100644 --- a/exec-all.h +++ b/exec-all.h @@ -32,6 +32,9 @@ #define __builtin_expect(x, n) (x) #endif +#define likely(x) __builtin_expect(!!(x), 1) +#define unlikely(x) __builtin_expect(!!(x), 0) + #ifdef __i386__ #define REGPARM(n) __attribute((regparm(n))) #else |