diff options
-rw-r--r-- | drivers/kvm/x86_emulate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/kvm/x86_emulate.c b/drivers/kvm/x86_emulate.c index b1026d2c8aec..80b1758e2d33 100644 --- a/drivers/kvm/x86_emulate.c +++ b/drivers/kvm/x86_emulate.c | |||
@@ -596,11 +596,10 @@ x86_emulate_memop(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops) | |||
596 | case 0xf0: /* LOCK */ | 596 | case 0xf0: /* LOCK */ |
597 | lock_prefix = 1; | 597 | lock_prefix = 1; |
598 | break; | 598 | break; |
599 | case 0xf2: /* REPNE/REPNZ */ | ||
599 | case 0xf3: /* REP/REPE/REPZ */ | 600 | case 0xf3: /* REP/REPE/REPZ */ |
600 | rep_prefix = 1; | 601 | rep_prefix = 1; |
601 | break; | 602 | break; |
602 | case 0xf2: /* REPNE/REPNZ */ | ||
603 | break; | ||
604 | default: | 603 | default: |
605 | goto done_prefixes; | 604 | goto done_prefixes; |
606 | } | 605 | } |