Skip to content

Commit 3c36aa1

Browse files
acmelqmonnet
authored andcommitted
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 <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paolo Bonzini <[email protected]> Link: https://lore.kernel.org/lkml/ZiwJsFOBez0MS4r9@x1 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent ccd5c21 commit 3c36aa1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/uapi/asm-generic/bitsperlong.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@
2424
#endif
2525
#endif
2626

27+
#ifndef __BITS_PER_LONG_LONG
28+
#define __BITS_PER_LONG_LONG 64
29+
#endif
30+
2731
#endif /* _UAPI__ASM_GENERIC_BITS_PER_LONG */

0 commit comments

Comments
 (0)