objtool/x86: Use asm/nops.h
authorPeter Zijlstra <peterz@infradead.org>
Fri, 12 Mar 2021 11:32:55 +0000 (12:32 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 15 Mar 2021 15:37:37 +0000 (16:37 +0100)
commit301cddc21a157a3072d789a3097857202e550a24
tree77fec47c4e9ab4fa5acd079a71bb3e60b1f805c1
parenta89dfde3dc3c2dbf56910af75e2d8b11ec5308f6
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
tools/arch/x86/include/asm/nops.h [new file with mode: 0644]
tools/objtool/arch/x86/decode.c
tools/objtool/sync-check.sh