Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers: Update linux/vdso.h and grab a copy of vdso/const.h

To get in line with:

8165b57bca21 ("linux/const.h: Extract common header for vDSO")

And silence this tools/perf/ build warning:

Warning: Kernel ABI header at 'tools/include/linux/const.h' differs from latest version at 'include/linux/const.h'
diff -u tools/include/linux/const.h include/linux/const.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+12 -4
+1 -4
tools/include/linux/const.h
··· 1 1 #ifndef _LINUX_CONST_H 2 2 #define _LINUX_CONST_H 3 3 4 - #include <uapi/linux/const.h> 5 - 6 - #define UL(x) (_UL(x)) 7 - #define ULL(x) (_ULL(x)) 4 + #include <vdso/const.h> 8 5 9 6 #endif /* _LINUX_CONST_H */
+10
tools/include/vdso/const.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + #ifndef __VDSO_CONST_H 3 + #define __VDSO_CONST_H 4 + 5 + #include <uapi/linux/const.h> 6 + 7 + #define UL(x) (_UL(x)) 8 + #define ULL(x) (_ULL(x)) 9 + 10 + #endif /* __VDSO_CONST_H */
+1
tools/perf/check-headers.sh
··· 23 23 include/uapi/sound/asound.h 24 24 include/linux/bits.h 25 25 include/linux/const.h 26 + include/vdso/const.h 26 27 include/linux/hash.h 27 28 include/uapi/linux/hw_breakpoint.h 28 29 arch/x86/include/asm/disabled-features.h