aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/irq.h')
-rw-r--r--arch/x86/kvm/irq.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h
index 95fe718e3abc..479a3d2d5614 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -63,11 +63,12 @@ struct kvm_pic {
63 void *irq_request_opaque; 63 void *irq_request_opaque;
64 int output; /* intr from master PIC */ 64 int output; /* intr from master PIC */
65 struct kvm_io_device dev; 65 struct kvm_io_device dev;
66 void (*ack_notifier)(void *opaque, int irq);
66}; 67};
67 68
68struct kvm_pic *kvm_create_pic(struct kvm *kvm); 69struct kvm_pic *kvm_create_pic(struct kvm *kvm);
69void kvm_pic_set_irq(void *opaque, int irq, int level); 70void kvm_pic_set_irq(void *opaque, int irq, int level);
70int kvm_pic_read_irq(struct kvm_pic *s); 71int kvm_pic_read_irq(struct kvm *kvm);
71void kvm_pic_update_irq(struct kvm_pic *s); 72void kvm_pic_update_irq(struct kvm_pic *s);
72 73
73static inline struct kvm_pic *pic_irqchip(struct kvm *kvm) 74static inline struct kvm_pic *pic_irqchip(struct kvm *kvm)