]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: Build fix for powerpc KVM
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 16 Oct 2012 22:25:45 +0000 (22:25 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Oct 2012 23:37:52 +0000 (10:37 +1100)
commitce236ab576a2d76b1d6eb268221e74f05ed48d8b
treea409d30a71e09069b1656aed6faab5b20de66faf
parent72523d8082df3d89bffe30cbc1356dbb45ab51ae
powerpc: Build fix for powerpc KVM

Fix build failure for powerpc KVM by adding missing VPN_SHIFT definition
and the ';'

arch/powerpc/kvm/book3s_32_mmu_host.c: In function 'kvmppc_mmu_map_page':
arch/powerpc/kvm/book3s_32_mmu_host.c:176: error: 'VPN_SHIFT' undeclared (first use in this function)
arch/powerpc/kvm/book3s_32_mmu_host.c:176: error: (Each undeclared identifier is reported only once
arch/powerpc/kvm/book3s_32_mmu_host.c:176: error: for each function it appears in.)
arch/powerpc/kvm/book3s_32_mmu_host.c:178: error: expected ';' before 'next_pteg'
arch/powerpc/kvm/book3s_32_mmu_host.c:190: error: label 'next_pteg' used but not defined
make[1]: *** [arch/powerpc/kvm/book3s_32_mmu_host.o] Error 1

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/kvm_book3s_32.h
arch/powerpc/kvm/book3s_32_mmu_host.c