summaryrefslogtreecommitdiffstats
path: root/tools/include/uapi/asm-generic
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2024-04-26 20:52:09 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-04-27 03:13:10 +0200
commit450f941ea9dce7256a485baf36f2b8d85a64e1c0 (patch)
tree1df0c82d0a747004f82a95cb5c0aafa817038171 /tools/include/uapi/asm-generic
parenttools headers x86 cpufeatures: Sync with the kernel sources to pick BHI mitig... (diff)
downloadlinux-450f941ea9dce7256a485baf36f2b8d85a64e1c0.tar.xz
linux-450f941ea9dce7256a485baf36f2b8d85a64e1c0.zip
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>
Diffstat (limited to 'tools/include/uapi/asm-generic')
-rw-r--r--tools/include/uapi/asm-generic/bitsperlong.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/include/uapi/asm-generic/bitsperlong.h b/tools/include/uapi/asm-generic/bitsperlong.h
index 352cb81947b8..fadb3f857f28 100644
--- a/tools/include/uapi/asm-generic/bitsperlong.h
+++ b/tools/include/uapi/asm-generic/bitsperlong.h
@@ -24,4 +24,8 @@
#endif
#endif
+#ifndef __BITS_PER_LONG_LONG
+#define __BITS_PER_LONG_LONG 64
+#endif
+
#endif /* _UAPI__ASM_GENERIC_BITS_PER_LONG */