diff options
| author | Tony Lindgren <tony@atomide.com> | 2021-01-15 13:48:43 +0300 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2021-01-15 13:48:43 +0300 |
| commit | 715a1284d89a740b197b3bad5eb20d36a397382f (patch) | |
| tree | 07ad2960ab66e56b3d1e151036262019a18e3df1 /tools/include/linux/build_bug.h | |
| parent | 181739822cf6f8f4e12b173913af2967a28906c0 (diff) | |
| parent | 06862d789ddde8a99c1e579e934ca17c15a84755 (diff) | |
| download | linux-715a1284d89a740b197b3bad5eb20d36a397382f.tar.xz | |
Merge branch 'cpuidle-fix' into fixes
Diffstat (limited to 'tools/include/linux/build_bug.h')
| -rw-r--r-- | tools/include/linux/build_bug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/include/linux/build_bug.h b/tools/include/linux/build_bug.h index cc7070c7439b..ce365d212768 100644 --- a/tools/include/linux/build_bug.h +++ b/tools/include/linux/build_bug.h @@ -79,4 +79,9 @@ #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) #endif // static_assert +#ifdef __GENKSYMS__ +/* genksyms gets confused by _Static_assert */ +#define _Static_assert(expr, ...) +#endif + #endif /* _LINUX_BUILD_BUG_H */ |
