tools headers: Synchronize linux/bits.h with the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Apr 2024 18:52:09 +0000 (15:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 27 Apr 2024 01:13:10 +0000 (22:13 -0300)
commit450f941ea9dce7256a485baf36f2b8d85a64e1c0
tree1df0c82d0a747004f82a95cb5c0aafa817038171
parent8f21164321eea844ed2ed28d9db9f90f43d2bf7c
tools headers: Synchronize linux/bits.h with the kernel sources

To pick up the changes in this cset:

   3c7a8e190bc58081 ("uapi: introduce uapi-friendly macros for GENMASK")

That just causes perf to rebuild. Its just some macros going to an uapi
header that we now have to grab a copy into tools/ as well.

This addresses this perf build warning:

  Warning: Kernel ABI header differences:
    diff -u tools/include/linux/bits.h include/linux/bits.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/lkml/ZiwJsFOBez0MS4r9@x1
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/bits.h
tools/include/uapi/asm-generic/bitsperlong.h
tools/include/uapi/linux/bits.h [new file with mode: 0644]
tools/perf/check-headers.sh