KVM: Guard mmu_notifier specific code with CONFIG_MMU_NOTIFIER
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 15 Jun 2012 19:07:24 +0000 (15:07 -0400)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 3 Jul 2012 17:55:31 +0000 (14:55 -0300)
commit36c1ed821bd11fb9a3f99a060b1553c114dc2d07
treeb8d7e5e3eaf07218d04e5bbe20a8cd7c119b6508
parent2106a548122ef0557dc51eae4f3f1a538cebfa79
KVM: Guard mmu_notifier specific code with CONFIG_MMU_NOTIFIER

In order to avoid compilation failure when KVM is not compiled in,
guard the mmu_notifier specific sections with both CONFIG_MMU_NOTIFIER
and KVM_ARCH_WANT_MMU_NOTIFIER, like it is being done in the rest of
the KVM code.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
include/linux/kvm_host.h