Skip to content

Commit addbdff

Browse files
committed
tools headers: Syncronize linux/build_bug.h with the kernel sources
To pick up the changes in: 3a176b9 ("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 Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 38c5394 commit addbdff

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

tools/include/linux/build_bug.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,4 @@
7979
#define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
8080
#endif // static_assert
8181

82-
#ifdef __GENKSYMS__
83-
/* genksyms gets confused by _Static_assert */
84-
#define _Static_assert(expr, ...)
85-
#endif
86-
8782
#endif /* _LINUX_BUILD_BUG_H */

0 commit comments

Comments
 (0)