2 # SPDX-License-Identifier: GPL-2.0
5 arch/x86/include/asm/inat_types.h
6 arch/x86/include/asm/orc_types.h
7 arch/x86/include/asm/emulate_prefix.h
8 arch/x86/lib/x86-opcode-map.txt
9 arch/x86/tools/gen-insn-attr-x86.awk
19 cmd="diff $* $file1 $file2 > /dev/null"
23 echo "Warning: Kernel ABI header at '$file1' differs from latest version at '$file2'" >&2
24 echo diff -u $file1 $file2
34 check_2 tools/$file $file $*
37 if [ ! -d ../../kernel ] || [ ! -d ../../tools ] || [ ! -d ../objtool ]; then
47 check arch/x86/include/asm/inat.h '-I "^#include [\"<]\(asm/\)*inat_types.h[\">]"'
48 check arch/x86/include/asm/insn.h '-I "^#include [\"<]\(asm/\)*inat.h[\">]"'
49 check arch/x86/lib/inat.c '-I "^#include [\"<]\(../include/\)*asm/insn.h[\">]"'
50 check arch/x86/lib/insn.c '-I "^#include [\"<]\(../include/\)*asm/in\(at\|sn\).h[\">]" -I "^#include [\"<]\(../include/\)*asm/emulate_prefix.h[\">]"'