diff options
author | Frederik Deweerdt <frederik.deweerdt@xprog.eu> | 2009-10-09 11:42:56 +0000 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-10-16 12:30:26 -0300 |
commit | 8a8365c560b8b631e0a2d1ac032fbca66a9645bc (patch) | |
tree | ca4f74170aade039440b38cfb0fe6d78e0ebeed4 /virt/kvm | |
parent | ace1546487a0fe4634e3251067f8a32cb2cdc099 (diff) |
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/kvm')
0 files changed, 0 insertions, 0 deletions