]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Fix compile error in e500_tlb.c
authorAlexander Graf <agraf@suse.de>
Tue, 31 Aug 2010 01:45:39 +0000 (03:45 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:22 +0000 (10:52 +0200)
commitc06b81cfbe0217bb84bf54ef4c63e5acef088188
tree3056a0e6f8957834579415da1a21551e83028fcf
parent00a7d9e373772f879af9e84c4f6f0f9d3285b5e8
KVM: PPC: Fix compile error in e500_tlb.c

The e500_tlb.c file didn't compile for me due to the following error:

arch/powerpc/kvm/e500_tlb.c: In function ‘kvmppc_e500_shadow_map’:
arch/powerpc/kvm/e500_tlb.c:300: error: format ‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘gfn_t’

So let's explicitly cast the argument to make printk happy.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/e500_tlb.c