KVM: PPC: Move of include to __KERNEL__ section
authorAlexander Graf <agraf@suse.de>
Fri, 3 Sep 2010 08:22:19 +0000 (10:22 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:23 +0000 (10:52 +0200)
commit26e673c3003bc8f24bdbbdcb8bc91a78556f579a
treec18d426385b0d75ef875cd6c9742ed3b6c930e29
parentd1e87c7ee65a20b10faf7e59dbe2cc934c32473b
KVM: PPC: Move of include to __KERNEL__ section

We have to protect the include for linux/of.h by __KERNEL__ so it doesn't
accidently get referenced outside.

This patch fixes this and makes the tree compile again.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_para.h