Staging: Panel: panel: Fixed checkpatch line length warnings
[linux/fpc-iii.git] / virt / kvm / coalesced_mmio.h
blobb280c20444d1546434e1381a52c723098d564f6c
1 #ifndef __KVM_COALESCED_MMIO_H__
2 #define __KVM_COALESCED_MMIO_H__
4 /*
5 * KVM coalesced MMIO
7 * Copyright (c) 2008 Bull S.A.S.
9 * Author: Laurent Vivier <Laurent.Vivier@bull.net>
13 #ifdef CONFIG_KVM_MMIO
15 #include <linux/list.h>
17 struct kvm_coalesced_mmio_dev {
18 struct list_head list;
19 struct kvm_io_device dev;
20 struct kvm *kvm;
21 struct kvm_coalesced_mmio_zone zone;
24 int kvm_coalesced_mmio_init(struct kvm *kvm);
25 void kvm_coalesced_mmio_free(struct kvm *kvm);
26 int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm,
27 struct kvm_coalesced_mmio_zone *zone);
28 int kvm_vm_ioctl_unregister_coalesced_mmio(struct kvm *kvm,
29 struct kvm_coalesced_mmio_zone *zone);
31 #else
33 static inline int kvm_coalesced_mmio_init(struct kvm *kvm) { return 0; }
34 static inline void kvm_coalesced_mmio_free(struct kvm *kvm) { }
36 #endif
38 #endif