diff options
author | kib <kib@FreeBSD.org> | 2013-03-05 11:02:38 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-03-05 11:02:38 +0000 |
commit | 3b587f502e1f4043995193a94d24e0f72b69ca6e (patch) | |
tree | 3eee2a45985f2bf958be157a0b8ede223b7cf995 | |
parent | b05b4c54a08f83ba25f51e6bda9418177186a611 (diff) | |
download | FreeBSD-src-3b587f502e1f4043995193a94d24e0f72b69ca6e.zip FreeBSD-src-3b587f502e1f4043995193a94d24e0f72b69ca6e.tar.gz |
Correct the r247832.
Noted by: marius, rdivacky
MFC after: 1 month
-rw-r--r-- | sys/dev/drm2/drmP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/drmP.h b/sys/dev/drm2/drmP.h index 06de553..32c710a 100644 --- a/sys/dev/drm2/drmP.h +++ b/sys/dev/drm2/drmP.h @@ -228,7 +228,7 @@ typedef void irqreturn_t; #define IRQ_NONE /* nothing */ #define unlikely(x) __builtin_expect(!!(x), 0) -#define likely(x) __builtin_expect((x), 0) +#define likely(x) __builtin_expect(!!(x), 1) #define container_of(ptr, type, member) ({ \ __typeof( ((type *)0)->member ) *__mptr = (ptr); \ (type *)( (char *)__mptr - offsetof(type,member) );}) |