projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb2237
)
KVM: x86 emulator: fix const value warning on i386 in svm insn RAX check
author
Randy Dunlap
<randy.dunlap@oracle.com>
Thu, 21 Apr 2011 16:09:22 +0000
(09:09 -0700)
committer
Avi Kivity
<avi@redhat.com>
Sun, 22 May 2011 12:39:30 +0000
(08:39 -0400)
arch/x86/kvm/emulate.c:2598: warning: integer constant is too large for 'long' type
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/emulate.c
b/arch/x86/kvm/emulate.c
index ccb8b383beab8524539c653b25299384f88f5416..77a5f54f151f810dd19de31a343b9970250355e3 100644
(file)
--- 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)
u64 rax = ctxt->decode.regs[VCPU_REGS_RAX];
/* Valid physical address? */
- if (rax & 0xffff000000000000)
+ if (rax & 0xffff000000000000
ULL
)
return emulate_gp(ctxt, 0);
return check_svme(ctxt);