diff options
Diffstat (limited to 'arch/x86/kvm')
-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 ccb8b383beab..77a5f54f151f 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c | |||
@@ -2738,7 +2738,7 @@ static int check_svme_pa(struct x86_emulate_ctxt *ctxt) | |||
2738 | u64 rax = ctxt->decode.regs[VCPU_REGS_RAX]; | 2738 | u64 rax = ctxt->decode.regs[VCPU_REGS_RAX]; |
2739 | 2739 | ||
2740 | /* Valid physical address? */ | 2740 | /* Valid physical address? */ |
2741 | if (rax & 0xffff000000000000) | 2741 | if (rax & 0xffff000000000000ULL) |
2742 | return emulate_gp(ctxt, 0); | 2742 | return emulate_gp(ctxt, 0); |
2743 | 2743 | ||
2744 | return check_svme(ctxt); | 2744 | return check_svme(ctxt); |