From: Frederik Deweerdt Date: Fri, 9 Oct 2009 11:42:56 +0000 (+0000) Subject: KVM: MMU: fix pointer cast X-Git-Tag: v2.6.32-rc6~117^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a8365c560b8b631e0a2d1ac032fbca66a9645bc;p=pandora-kernel.git 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 Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed