diff options
author | Borislav Petkov <bp@suse.de> | 2021-02-22 13:34:40 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-03-15 11:00:57 +0100 |
commit | d30c7b820be5c4777fe6c3b0c21f9d0064251e51 (patch) | |
tree | 6ad20d5b7d1cf8d82ee99f2d700a10572f69224d /arch/x86/lib | |
parent | 508ef28674c1fe6ac388586cb31dc0f0bbc4172c (diff) | |
download | linux-stable-d30c7b820be5c4777fe6c3b0c21f9d0064251e51.tar.gz linux-stable-d30c7b820be5c4777fe6c3b0c21f9d0064251e51.tar.bz2 linux-stable-d30c7b820be5c4777fe6c3b0c21f9d0064251e51.zip |
x86/insn: Add a __ignore_sync_check__ marker
Add an explicit __ignore_sync_check__ marker which will be used to mark
lines which are supposed to be ignored by file synchronization check
scripts, its advantage being that it explicitly denotes such lines in
the code.
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lkml.kernel.org/r/20210304174237.31945-4-bp@alien8.de
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/inat.c | 2 | ||||
-rw-r--r-- | arch/x86/lib/insn.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/lib/inat.c b/arch/x86/lib/inat.c index 12539fca75c4..b0f3b2a62ae2 100644 --- a/arch/x86/lib/inat.c +++ b/arch/x86/lib/inat.c @@ -4,7 +4,7 @@ * * Written by Masami Hiramatsu <mhiramat@redhat.com> */ -#include <asm/insn.h> +#include <asm/insn.h> /* __ignore_sync_check__ */ /* Attribute tables are generated from opcode map */ #include "inat-tables.c" diff --git a/arch/x86/lib/insn.c b/arch/x86/lib/insn.c index 4d1640dc7882..ed1e0335aa14 100644 --- a/arch/x86/lib/insn.c +++ b/arch/x86/lib/insn.c @@ -11,10 +11,10 @@ #else #include <string.h> #endif -#include <asm/inat.h> -#include <asm/insn.h> +#include <asm/inat.h> /*__ignore_sync_check__ */ +#include <asm/insn.h> /* __ignore_sync_check__ */ -#include <asm/emulate_prefix.h> +#include <asm/emulate_prefix.h> /* __ignore_sync_check__ */ #define leXX_to_cpu(t, r) \ ({ \ |