tools headers: Syncronize linux/build_bug.h with the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Jan 2023 13:27:48 +0000 (10:27 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 18 Jan 2023 13:31:11 +0000 (10:31 -0300)
commitc905ecfbb8e5d54bbcdd2a1706b925baf1728cfe
tree80a68f3ef4018a4a4d5533de809f92f04274ef67
parentd352588bbc990ba51f925f124946c42e604c502e
tools headers: Syncronize linux/build_bug.h with the kernel sources

To pick up the changes in:

  07a368b3f55a79d3 ("bug: introduce ASSERT_STRUCT_OFFSET")

This cset only introduces a build time assert macro, that may be useful
at some point for tooling, for now it silences 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: Maxim Levitsky <mlevitsk@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: http://lore.kernel.org/lkml/Y8f0jqQFYDAOBkHx@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/build_bug.h