mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
tools/headers: Sync objtool UAPI header
commit a356d2ae50
upstream.
objtool grew this new warning:
Warning: synced file at 'tools/objtool/arch/x86/include/asm/inat.h' differs from latest kernel version at 'arch/x86/include/asm/inat.h'
which upstream header grew new INAT_SEG_* definitions.
Sync up the tooling version of the header.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3033f9e601
commit
6a8f768809
1 changed files with 10 additions and 0 deletions
|
@ -97,6 +97,16 @@
|
||||||
#define INAT_MAKE_GROUP(grp) ((grp << INAT_GRP_OFFS) | INAT_MODRM)
|
#define INAT_MAKE_GROUP(grp) ((grp << INAT_GRP_OFFS) | INAT_MODRM)
|
||||||
#define INAT_MAKE_IMM(imm) (imm << INAT_IMM_OFFS)
|
#define INAT_MAKE_IMM(imm) (imm << INAT_IMM_OFFS)
|
||||||
|
|
||||||
|
/* Identifiers for segment registers */
|
||||||
|
#define INAT_SEG_REG_IGNORE 0
|
||||||
|
#define INAT_SEG_REG_DEFAULT 1
|
||||||
|
#define INAT_SEG_REG_CS 2
|
||||||
|
#define INAT_SEG_REG_SS 3
|
||||||
|
#define INAT_SEG_REG_DS 4
|
||||||
|
#define INAT_SEG_REG_ES 5
|
||||||
|
#define INAT_SEG_REG_FS 6
|
||||||
|
#define INAT_SEG_REG_GS 7
|
||||||
|
|
||||||
/* Attribute search APIs */
|
/* Attribute search APIs */
|
||||||
extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode);
|
extern insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode);
|
||||||
extern int inat_get_last_prefix_id(insn_byte_t last_pfx);
|
extern int inat_get_last_prefix_id(insn_byte_t last_pfx);
|
||||||
|
|
Loading…
Reference in a new issue