2 # SPDX-License-Identifier: GPL-2.0
5 include/uapi/linux/const.h
7 include/uapi/drm/i915_drm.h
8 include/uapi/linux/fadvise.h
9 include/uapi/linux/fcntl.h
10 include/uapi/linux/fs.h
11 include/uapi/linux/fscrypt.h
12 include/uapi/linux/kcmp.h
13 include/uapi/linux/kvm.h
14 include/uapi/linux/in.h
15 include/uapi/linux/mount.h
16 include/uapi/linux/perf_event.h
17 include/uapi/linux/prctl.h
18 include/uapi/linux/sched.h
19 include/uapi/linux/stat.h
20 include/uapi/linux/usbdevice_fs.h
21 include/uapi/linux/vhost.h
22 include/uapi/sound/asound.h
26 include/uapi/linux/hw_breakpoint.h
27 arch/x86/include/asm/disabled-features.h
28 arch/x86/include/asm/required-features.h
29 arch/x86/include/asm/cpufeatures.h
30 arch/x86/include/asm/inat_types.h
31 arch/x86/include/asm/emulate_prefix.h
32 arch/x86/include/asm/irq_vectors.h
33 arch/x86/include/asm/msr-index.h
34 arch/x86/include/uapi/asm/prctl.h
35 arch/x86/lib/x86-opcode-map.txt
36 arch/x86/tools/gen-insn-attr-x86.awk
37 arch/arm/include/uapi/asm/perf_regs.h
38 arch/arm64/include/uapi/asm/perf_regs.h
39 arch/powerpc/include/uapi/asm/perf_regs.h
40 arch/s390/include/uapi/asm/perf_regs.h
41 arch/x86/include/uapi/asm/perf_regs.h
42 arch/x86/include/uapi/asm/kvm.h
43 arch/x86/include/uapi/asm/kvm_perf.h
44 arch/x86/include/uapi/asm/svm.h
45 arch/x86/include/uapi/asm/unistd.h
46 arch/x86/include/uapi/asm/vmx.h
47 arch/powerpc/include/uapi/asm/kvm.h
48 arch/s390/include/uapi/asm/kvm.h
49 arch/s390/include/uapi/asm/kvm_perf.h
50 arch/s390/include/uapi/asm/ptrace.h
51 arch/s390/include/uapi/asm/sie.h
52 arch/arm/include/uapi/asm/kvm.h
53 arch/arm64/include/uapi/asm/kvm.h
54 arch/arm64/include/uapi/asm/unistd.h
55 arch/alpha/include/uapi/asm/errno.h
56 arch/mips/include/asm/errno.h
57 arch/mips/include/uapi/asm/errno.h
58 arch/parisc/include/uapi/asm/errno.h
59 arch/powerpc/include/uapi/asm/errno.h
60 arch/sparc/include/uapi/asm/errno.h
61 arch/x86/include/uapi/asm/errno.h
62 include/asm-generic/bitops/arch_hweight.h
63 include/asm-generic/bitops/const_hweight.h
64 include/asm-generic/bitops/__fls.h
65 include/asm-generic/bitops/fls.h
66 include/asm-generic/bitops/fls64.h
67 include/linux/coresight-pmu.h
68 include/uapi/asm-generic/errno.h
69 include/uapi/asm-generic/errno-base.h
70 include/uapi/asm-generic/ioctls.h
71 include/uapi/asm-generic/mman-common.h
72 include/uapi/asm-generic/unistd.h
82 cmd
="diff $* $file1 $file2 > /dev/null"
86 echo "Warning: Kernel ABI header at '$file1' differs from latest version at '$file2'" >&2
87 echo diff -u $file1 $file2
97 check_2 tools
/$file $file $
*
100 # Check if we have the kernel headers (tools/perf/../../include), else
101 # we're probably on a detached tarball, so no point in trying to check
103 test -d ..
/..
/include ||
exit 0
112 # diff with extra ignore lines
113 check arch
/x86
/lib
/memcpy_64.S
'-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FUNC_START\(_LOCAL\)*(memcpy_\(erms\|orig\))"'
114 check arch
/x86
/lib
/memset_64.S
'-I "^EXPORT_SYMBOL" -I "^#include <asm/export.h>" -I"^SYM_FUNC_START\(_LOCAL\)*(memset_\(erms\|orig\))"'
115 check include
/uapi
/asm-generic
/mman.h
'-I "^#include <\(uapi/\)*asm-generic/mman-common\(-tools\)*.h>"'
116 check include
/uapi
/linux
/mman.h
'-I "^#include <\(uapi/\)*asm/mman.h>"'
117 check include
/linux
/ctype.h
'-I "isdigit("'
118 check lib
/ctype.c
'-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B'
119 check arch
/x86
/include
/asm
/inat.h
'-I "^#include [\"<]\(asm/\)*inat_types.h[\">]"'
120 check arch
/x86
/include
/asm
/insn.h
'-I "^#include [\"<]\(asm/\)*inat.h[\">]"'
121 check arch
/x86
/lib
/inat.c
'-I "^#include [\"<]\(../include/\)*asm/insn.h[\">]"'
122 check arch
/x86
/lib
/insn.c
'-I "^#include [\"<]\(../include/\)*asm/in\(at\|sn\).h[\">]" -I "^#include [\"<]\(../include/\)*asm/emulate_prefix.h[\">]"'
124 # diff non-symmetric files
125 check_2 tools
/perf
/arch
/x86
/entry
/syscalls
/syscall_64.tbl arch
/x86
/entry
/syscalls
/syscall_64.tbl