Commit d30c7b82 authored by Borislav Petkov's avatar Borislav Petkov
Browse files

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: default avatarBorislav Petkov <bp@suse.de>
Reviewed-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Link: https://lkml.kernel.org/r/20210304174237.31945-4-bp@alien8.de
parent 508ef286
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
 *
 * Written by Masami Hiramatsu <mhiramat@redhat.com>
 */
#include <asm/inat_types.h>
#include <asm/inat_types.h> /* __ignore_sync_check__ */

/*
 * Internal bits. Don't use bitmasks directly, because these bits are
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

#include <asm/byteorder.h>
/* insn_attr_t is defined in inat.h */
#include <asm/inat.h>
#include <asm/inat.h> /* __ignore_sync_check__ */

#if defined(__BYTE_ORDER) ? __BYTE_ORDER == __LITTLE_ENDIAN : defined(__LITTLE_ENDIAN)

+1 −1
Original line number Diff line number Diff line
@@ -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"
+3 −3
Original line number Diff line number Diff line
@@ -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)						\
({									\
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
 *
 * Written by Masami Hiramatsu <mhiramat@redhat.com>
 */
#include "inat_types.h"
#include "inat_types.h" /* __ignore_sync_check__ */

/*
 * Internal bits. Don't use bitmasks directly, because these bits are
Loading