aboutsummaryrefslogtreecommitdiff
path: root/virt/kvm/coalesced_mmio.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-12-20 14:42:19 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 12:35:41 -0300
commit3f0852e0aca9de2d2f8bc756630a82352cbfde68 (patch)
tree3d2c9e522e660b77ca2695054325efe4eca60b65 /virt/kvm/coalesced_mmio.h
parent283d0c65e4c277cf81d71418341c74eee199d149 (diff)
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 4b49f27fa31..e7033469733 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