To pick up the changes in: 3a176b94609a18f5 ("Revert "kbuild: avoid static_assert for genksyms"") And silence this perf build warning: Warning: Kernel ABI header at 'tools/include/linux/build_bug.h' differs from latest version at 'include/linux/build_bug.h' diff -u tools/include/linux/build_bug.h include/linux/build_bug.h
Unified · Split
| @@ -79,9 +79,4 @@ · 78 unmodified lines | ||
| 79 | 79 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) |
| 80 | 80 | #endif // static_assert |
| 81 | 81 | |
| 82 | −#ifdef __GENKSYMS__ | |
| 83 | −/* genksyms gets confused by _Static_assert */ | |
| 84 | −#define _Static_assert(expr, ...) | |
| 85 | −#endif | |
| 86 | − | |
| 87 | 82 | #endif /* _LINUX_BUILD_BUG_H */ |