Correct the r247832.

Noted by:	marius, rdivacky
MFC after:	1 month
This commit is contained in:
Konstantin Belousov 2013-03-05 11:02:38 +00:00
parent 5943eed4b9
commit 9b7efb7458

View File

@ -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) );})