History

tools headers: Syncronize linux/build_bug.h with the kernel sources

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

Arnaldo Carvalho de Melo committed 5 years ago

Commit addbdff1 parent 38c53941 file · +0 −5Browse files

Unified · Split

tools/include/linux/build_bug.h+0−5
@@ -79,9 +79,4 @@ · 78 unmodified lines
79#define __static_assert(expr, msg, ...) _Static_assert(expr, msg)79#define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
80#endif // static_assert80#endif // static_assert
81 81
82#ifdef __GENKSYMS__
83/* genksyms gets confused by _Static_assert */
84#define _Static_assert(expr, ...)
85#endif
86
87#endif /* _LINUX_BUILD_BUG_H */82#endif /* _LINUX_BUILD_BUG_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t