]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
KVM: x86: Remove prefix flag when GP macro is used
authorNadav Amit <namit@cs.technion.ac.il>
Sun, 7 Dec 2014 09:49:42 +0000 (11:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Dec 2014 11:51:13 +0000 (12:51 +0100)
The macro GP already sets the flag Prefix. Remove the redundant flag for
0f_38_f0 and 0f_38_f1 opcodes.

Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c

index 38173343153f01ecd4436f6b71a4072603200f74..b4f4201c32c9e400de2fcbbfc261af008ac00a78 100644 (file)
@@ -4172,8 +4172,8 @@ static const struct opcode opcode_map_0f_38[256] = {
        /* 0x80 - 0xef */
        X16(N), X16(N), X16(N), X16(N), X16(N), X16(N), X16(N),
        /* 0xf0 - 0xf1 */
-       GP(EmulateOnUD | ModRM | Prefix, &three_byte_0f_38_f0),
-       GP(EmulateOnUD | ModRM | Prefix, &three_byte_0f_38_f1),
+       GP(EmulateOnUD | ModRM, &three_byte_0f_38_f0),
+       GP(EmulateOnUD | ModRM, &three_byte_0f_38_f1),
        /* 0xf2 - 0xff */
        N, N, X4(N), X8(N)
 };