triage: attempt to fix some fps in linux-3.11 report

This commit is contained in:
Daniel Marjamäki 2015-01-06 15:59:32 +01:00
parent 88e7b55a2d
commit 57c2af3554
1 changed files with 2 additions and 0 deletions

View File

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