2 # SPDX-License-Identifier: GPL-2.0
6 include/uapi/drm/i915_drm.h
7 include/uapi/linux/fcntl.h
8 include/uapi/linux/kcmp.h
9 include/uapi/linux/kvm.h
10 include/uapi/linux/perf_event.h
11 include/uapi/linux/prctl.h
12 include/uapi/linux/sched.h
13 include/uapi/linux/stat.h
14 include/uapi/linux/vhost.h
15 include/uapi/sound/asound.h
17 include/uapi/linux/hw_breakpoint.h
18 arch/x86/include/asm/disabled-features.h
19 arch/x86/include/asm/required-features.h
20 arch/x86/include/asm/cpufeatures.h
21 arch/arm/include/uapi/asm/perf_regs.h
22 arch/arm64/include/uapi/asm/perf_regs.h
23 arch/powerpc/include/uapi/asm/perf_regs.h
24 arch/s390/include/uapi/asm/perf_regs.h
25 arch/x86/include/uapi/asm/perf_regs.h
26 arch/x86/include/uapi/asm/kvm.h
27 arch/x86/include/uapi/asm/kvm_perf.h
28 arch/x86/include/uapi/asm/svm.h
29 arch/x86/include/uapi/asm/unistd.h
30 arch/x86/include/uapi/asm/vmx.h
31 arch/powerpc/include/uapi/asm/kvm.h
32 arch/s390/include/uapi/asm/kvm.h
33 arch/s390/include/uapi/asm/kvm_perf.h
34 arch/s390/include/uapi/asm/ptrace.h
35 arch/s390/include/uapi/asm/sie.h
36 arch/arm/include/uapi/asm/kvm.h
37 arch/arm64/include/uapi/asm/kvm.h
38 arch/alpha/include/uapi/asm/errno.h
39 arch/mips/include/asm/errno.h
40 arch/mips/include/uapi/asm/errno.h
41 arch/parisc/include/uapi/asm/errno.h
42 arch/powerpc/include/uapi/asm/errno.h
43 arch/sparc/include/uapi/asm/errno.h
44 arch/x86/include/uapi/asm/errno.h
45 arch/powerpc/include/uapi/asm/unistd.h
46 include/asm-generic/bitops/arch_hweight.h
47 include/asm-generic/bitops/const_hweight.h
48 include/asm-generic/bitops/__fls.h
49 include/asm-generic/bitops/fls.h
50 include/asm-generic/bitops/fls64.h
51 include/linux/coresight-pmu.h
52 include/uapi/asm-generic/errno.h
53 include/uapi/asm-generic/errno-base.h
54 include/uapi/asm-generic/ioctls.h
55 include/uapi/asm-generic/mman-common.h
65 cmd
="diff $* $file1 $file2 > /dev/null"
68 eval $cmd ||
echo "Warning: Kernel ABI header at 'tools/$file' differs from latest version at '$file'" >&2
76 check_2 ..
/$file ..
/..
/$file $
*
79 # Check if we have the kernel headers (tools/perf/../../include), else
80 # we're probably on a detached tarball, so no point in trying to check
82 test -d ..
/..
/include ||
exit 0
89 # diff with extra ignore lines
90 check arch
/x86
/lib
/memcpy_64.S
'-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>"'
91 check arch
/x86
/lib
/memset_64.S
'-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>"'
92 check include
/uapi
/asm-generic
/mman.h
'-I "^#include <\(uapi/\)*asm-generic/mman-common.h>"'
93 check include
/uapi
/linux
/mman.h
'-I "^#include <\(uapi/\)*asm/mman.h>"'