summaryrefslogtreecommitdiffstats
path: root/virt/kvm/coalesced_mmio.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-12-20 13:42:19 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 16:35:41 +0100
commit3f0852e0aca9de2d2f8bc756630a82352cbfde68 (patch)
tree3d2c9e522e660b77ca2695054325efe4eca60b65 /virt/kvm/coalesced_mmio.h
parentKVM: Disentangle mmu notifiers and coalesced_mmio registration (diff)
downloadlinux-3f0852e0aca9de2d2f8bc756630a82352cbfde68.tar.xz
linux-3f0852e0aca9de2d2f8bc756630a82352cbfde68.zip
KVM: Add include guards for coalesced_mmio.h
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/coalesced_mmio.h')
-rw-r--r--virt/kvm/coalesced_mmio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/virt/kvm/coalesced_mmio.h b/virt/kvm/coalesced_mmio.h
index 4b49f27fa31e..e7033469733d 100644
--- a/virt/kvm/coalesced_mmio.h
+++ b/virt/kvm/coalesced_mmio.h
@@ -1,3 +1,6 @@
+#ifndef __KVM_COALESCED_MMIO_H__
+#define __KVM_COALESCED_MMIO_H__
+
/*
* KVM coalesced MMIO
*
@@ -22,3 +25,5 @@ int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm,
struct kvm_coalesced_mmio_zone *zone);
int kvm_vm_ioctl_unregister_coalesced_mmio(struct kvm *kvm,
struct kvm_coalesced_mmio_zone *zone);
+
+#endif