summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/irq.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-02-24 10:41:58 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 12:39:28 +0300
commit50a085bdd48af08cc7e3178ba0d7c1d5d8191698 (patch)
tree145a9a99b9e5c240c816b727a6669c8b01e07b4a /arch/x86/kvm/irq.h
parenta595405df9efb89710cd555d29df0e4902f90613 (diff)
downloadop-kernel-dev-50a085bdd48af08cc7e3178ba0d7c1d5d8191698.zip
op-kernel-dev-50a085bdd48af08cc7e3178ba0d7c1d5d8191698.tar.gz
KVM: x86: Kick VCPU outside PIC lock again
This restores the deferred VCPU kicking before 956f97cf. We need this over -rt as wake_up* requires non-atomic context in this configuration. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/irq.h')
-rw-r--r--arch/x86/kvm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h
index 34b15915..cd1f362 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -63,6 +63,7 @@ struct kvm_kpic_state {
struct kvm_pic {
raw_spinlock_t lock;
+ bool wakeup_needed;
unsigned pending_acks;
struct kvm *kvm;
struct kvm_kpic_state pics[2]; /* 0 is master pic, 1 is slave pic */
OpenPOWER on IntegriCloud