diff options
Diffstat (limited to 'include/linux/build_bug.h')
-rw-r--r-- | include/linux/build_bug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/build_bug.h b/include/linux/build_bug.h index 3efed0d742a0..969904a01dac 100644 --- a/include/linux/build_bug.h +++ b/include/linux/build_bug.h @@ -82,4 +82,9 @@ #endif /* __CHECKER__ */ +#ifdef __GENKSYMS__ +/* genksyms gets confused by _Static_assert */ +#define _Static_assert(expr, ...) +#endif + #endif /* _LINUX_BUILD_BUG_H */ |