aboutsummaryrefslogtreecommitdiffstats
path: root/tools/objtool/sync-check.sh
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-03-12 12:32:55 +0100
committerBorislav Petkov <bp@suse.de>2021-03-15 16:37:37 +0100
commit301cddc21a157a3072d789a3097857202e550a24 (patch)
tree77fec47c4e9ab4fa5acd079a71bb3e60b1f805c1 /tools/objtool/sync-check.sh
parentx86: Remove dynamic NOP selection (diff)
downloadlinux-dev-301cddc21a157a3072d789a3097857202e550a24.tar.xz
linux-dev-301cddc21a157a3072d789a3097857202e550a24.zip
objtool/x86: Use asm/nops.h
Since the kernel will rely on a single canonical set of NOPs, make sure objtool uses the exact same ones. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210312115749.136357911@infradead.org
Diffstat (limited to 'tools/objtool/sync-check.sh')
-rwxr-xr-xtools/objtool/sync-check.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/objtool/sync-check.sh b/tools/objtool/sync-check.sh
index 606a4b5e929f..d23268683910 100755
--- a/tools/objtool/sync-check.sh
+++ b/tools/objtool/sync-check.sh
@@ -10,6 +10,7 @@ FILES="include/linux/objtool.h"
if [ "$SRCARCH" = "x86" ]; then
FILES="$FILES
+arch/x86/include/asm/nops.h
arch/x86/include/asm/inat_types.h
arch/x86/include/asm/orc_types.h
arch/x86/include/asm/emulate_prefix.h