From: Arnaldo Carvalho de Melo Date: Thu, 14 Jan 2021 15:35:27 +0000 (-0300) Subject: tools headers: Syncronize linux/build_bug.h with the kernel sources X-Git-Tag: v5.15~1964^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=addbdff24293ef772a1b8e5d127b570e70f08cdc;p=platform%2Fkernel%2Flinux-starfive.git 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 Cc: Adrian Hunter Cc: Ian Rogers Cc: Jiri Olsa Cc: Masahiro Yamada Cc: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/include/linux/build_bug.h b/tools/include/linux/build_bug.h index ce365d2..cc7070c 100644 --- a/tools/include/linux/build_bug.h +++ b/tools/include/linux/build_bug.h @@ -79,9 +79,4 @@ #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 */