Correct the r247832.
Noted by: marius, rdivacky MFC after: 1 month
This commit is contained in:
parent
5943eed4b9
commit
9b7efb7458
@ -228,7 +228,7 @@ typedef void irqreturn_t;
|
|||||||
#define IRQ_NONE /* nothing */
|
#define IRQ_NONE /* nothing */
|
||||||
|
|
||||||
#define unlikely(x) __builtin_expect(!!(x), 0)
|
#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) ({ \
|
#define container_of(ptr, type, member) ({ \
|
||||||
__typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
__typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||||
(type *)( (char *)__mptr - offsetof(type,member) );})
|
(type *)( (char *)__mptr - offsetof(type,member) );})
|
||||||
|
Loading…
Reference in New Issue
Block a user