diff options
| author | Tony Lindgren <[email protected]> | 2020-06-08 10:14:49 -0700 |
|---|---|---|
| committer | Tony Lindgren <[email protected]> | 2020-06-08 10:14:49 -0700 |
| commit | 4263eb6880df8383fff0efb872278a99eb6142c8 (patch) | |
| tree | 67ab9bf228e4f5f341f9408e055180932b39fe06 /tools/include/linux/kernel.h | |
| parent | 636338d7968e47c7f2e0b772a2a825ad932883fb (diff) | |
| parent | 8e326a8bdef3fb42b92bf2742e8405d9b9209367 (diff) | |
Merge branch 'fixes-v5.7' into fixes
Diffstat (limited to 'tools/include/linux/kernel.h')
| -rw-r--r-- | tools/include/linux/kernel.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/include/linux/kernel.h b/tools/include/linux/kernel.h index cba226948a0c..a7e54a08fb54 100644 --- a/tools/include/linux/kernel.h +++ b/tools/include/linux/kernel.h @@ -5,6 +5,7 @@ #include <stdarg.h> #include <stddef.h> #include <assert.h> +#include <linux/build_bug.h> #include <linux/compiler.h> #include <endian.h> #include <byteswap.h> @@ -35,9 +36,6 @@ (type *)((char *)__mptr - offsetof(type, member)); }) #endif -#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) -#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) - #ifndef max #define max(x, y) ({ \ typeof(x) _max1 = (x); \ |