]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
powerpc: Fix KVM build on ppc440
authorPaul Mackerras <paulus@samba.org>
Tue, 23 Dec 2008 03:57:26 +0000 (14:57 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 23 Dec 2008 03:58:30 +0000 (14:58 +1100)
Commit 2a4aca1144394653269720ffbb5a325a77abd5fa ("powerpc/mm: Split
low level tlb invalidate for nohash processors") changed a call to
_tlbia to _tlbil_all but didn't include the header that defines
_tlbil_all, leading to a build failure on 440 if KVM is enabled.
This fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kvm/powerpc.c

index eb955d755c9a3337663f3f7398174a9ebfc3face..8bef0efcdfe19ba11b1f5d8d9f3561213f6a2a45 100644 (file)
@@ -28,6 +28,7 @@
 #include <asm/uaccess.h>
 #include <asm/kvm_ppc.h>
 #include <asm/tlbflush.h>
+#include "../mm/mmu_decl.h"
 
 
 gfn_t unalias_gfn(struct kvm *kvm, gfn_t gfn)