diff options
author | Frederik Deweerdt <frederik.deweerdt@xprog.eu> | 2009-10-09 13:42:56 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-16 17:30:26 +0200 |
commit | 8a8365c560b8b631e0a2d1ac032fbca66a9645bc (patch) | |
tree | ca4f74170aade039440b38cfb0fe6d78e0ebeed4 /virt | |
parent | KVM: use proper hrtimer function to retrieve expiration time (diff) | |
download | linux-8a8365c560b8b631e0a2d1ac032fbca66a9645bc.tar.xz linux-8a8365c560b8b631e0a2d1ac032fbca66a9645bc.zip |
KVM: MMU: fix pointer cast
On a 32 bits compile, commit 3da0dd433dc399a8c0124d0614d82a09b6a49bce
introduced the following warnings:
arch/x86/kvm/mmu.c: In function ‘kvm_set_pte_rmapp’:
arch/x86/kvm/mmu.c:770: warning: cast to pointer from integer of different size
arch/x86/kvm/mmu.c: In function ‘kvm_set_spte_hva’:
arch/x86/kvm/mmu.c:849: warning: cast from pointer to integer of different size
The following patch uses 'unsigned long' instead of u64 to match the
pointer size on both arches.
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@xprog.eu>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions