triage: attempt to fix some fps in linux-3.11 report
This commit is contained in:
parent
88e7b55a2d
commit
57c2af3554
|
@ -3,6 +3,8 @@
|
|||
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
|
||||
#define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0]))
|
||||
#define BUG_ON(C) if (C) exit(1)
|
||||
#define GOTO(label, rc) goto label
|
||||
#define RETURN(x) return x
|
||||
#define NVERSION(version) (version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF
|
||||
#define container_of(ptr, type, member) ({ \
|
||||
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
|
||||
|
|
Loading…
Reference in New Issue