summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-04-27 07:49:17 +0200
committerAvi Kivity <avi@redhat.com>2010-05-19 10:36:24 +0200
commit329d20ba451b5a9fd17a4ce9471e4d335b3b8c74 (patch)
tree4ed000fd6749ba375ec30b330b1cc8cb3b7a2b86 /arch
parentKVM: Fix mmu shrinker error (diff)
downloadlinux-329d20ba451b5a9fd17a4ce9471e4d335b3b8c74.tar.xz
linux-329d20ba451b5a9fd17a4ce9471e4d335b3b8c74.zip
KVM: powerpc: use of kzalloc/kfree requires including slab.h
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kvm/book3s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c
index 9f97dbe25e4e..28e785fb2cab 100644
--- a/arch/powerpc/kvm/book3s.c
+++ b/arch/powerpc/kvm/book3s.c
@@ -16,6 +16,7 @@
#include <linux/kvm_host.h>
#include <linux/err.h>
+#include <linux/slab.h>
#include <asm/reg.h>
#include <asm/cputable.h>