aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/insn.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/insn.c')
-rw-r--r--arch/x86/lib/insn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/insn.c b/arch/x86/lib/insn.c
index dfd56a30053f..9f483179a8a6 100644
--- a/arch/x86/lib/insn.c
+++ b/arch/x86/lib/insn.c
@@ -69,7 +69,7 @@ void insn_get_prefixes(struct insn *insn)
69 lb = 0; 69 lb = 0;
70 b = peek_next(insn_byte_t, insn); 70 b = peek_next(insn_byte_t, insn);
71 attr = inat_get_opcode_attribute(b); 71 attr = inat_get_opcode_attribute(b);
72 while (inat_is_prefix(attr)) { 72 while (inat_is_legacy_prefix(attr)) {
73 /* Skip if same prefix */ 73 /* Skip if same prefix */
74 for (i = 0; i < nb; i++) 74 for (i = 0; i < nb; i++)
75 if (prefixes->bytes[i] == b) 75 if (prefixes->bytes[i] == b)