diff options
author | Nadav Amit <namit@cs.technion.ac.il> | 2015-01-26 09:32:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-26 12:15:03 +0100 |
commit | 2b42fce6954d1730edaf479d02378703e7b821cb (patch) | |
tree | a3ac5a4feacf655f6397c711c708522a45a23045 /arch/x86/kvm/emulate.c | |
parent | 2276b5116e983277073623cd363954e41674c382 (diff) | |
download | linux-stable-2b42fce6954d1730edaf479d02378703e7b821cb.tar.gz linux-stable-2b42fce6954d1730edaf479d02378703e7b821cb.tar.bz2 linux-stable-2b42fce6954d1730edaf479d02378703e7b821cb.zip |
KVM: x86: Fix defines in emulator.c
Unnecassary define was left after commit 7d882ffa81d5 ("KVM: x86: Revert
NoBigReal patch in the emulator").
Commit 39f062ff51b2 ("KVM: x86: Generate #UD when memory operand is required")
was missing undef.
Fix it.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/emulate.c')
-rw-r--r-- | arch/x86/kvm/emulate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index db3cf399e39e..997c9ebb70ef 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -167,7 +167,6 @@ #define NoMod ((u64)1 << 47) /* Mod field is ignored */ #define Intercept ((u64)1 << 48) /* Has valid intercept field */ #define CheckPerm ((u64)1 << 49) /* Has valid check_perm field */ -#define NoBigReal ((u64)1 << 50) /* No big real mode */ #define PrivUD ((u64)1 << 51) /* #UD instead of #GP on CPL > 0 */ #define NearBranch ((u64)1 << 52) /* Near branches */ #define No16 ((u64)1 << 53) /* No 16 bit operand */ @@ -4246,6 +4245,7 @@ static const struct opcode opcode_map_0f_38[256] = { #undef GP #undef EXT #undef MD +#undef ID #undef D2bv #undef D2bvIP |