diff options
author | Avi Kivity <avi@redhat.com> | 2010-08-01 05:39:53 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 04:50:33 -0400 |
commit | 4515453964e78ce556a98c56aeb675ed8d48b8de (patch) | |
tree | 0325ca3dc7bf133796c22ff054eb3ee702cc9331 | |
parent | 1a6440aef6d63252e6c80aff651147b5f8c737e9 (diff) |
KVM: x86 emulator: simplify xchg decode tables
Use X8() to avoid repetition.
Signed-off-by: Avi Kivity <avi@redhat.com>
-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 5f45f66ed277..c7176df9ced5 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -2147,7 +2147,7 @@ static struct opcode opcode_table[256] = { | |||
2147 | D(DstMem | SrcNone | ModRM | Mov), D(ModRM | DstReg), | 2147 | D(DstMem | SrcNone | ModRM | Mov), D(ModRM | DstReg), |
2148 | D(ImplicitOps | SrcMem16 | ModRM), G(0, group1A), | 2148 | D(ImplicitOps | SrcMem16 | ModRM), G(0, group1A), |
2149 | /* 0x90 - 0x97 */ | 2149 | /* 0x90 - 0x97 */ |
2150 | D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), D(DstReg), | 2150 | X8(D(DstReg)), |
2151 | /* 0x98 - 0x9F */ | 2151 | /* 0x98 - 0x9F */ |
2152 | N, N, D(SrcImmFAddr | No64), N, | 2152 | N, N, D(SrcImmFAddr | No64), N, |
2153 | D(ImplicitOps | Stack), D(ImplicitOps | Stack), N, N, | 2153 | D(ImplicitOps | Stack), D(ImplicitOps | Stack), N, N, |