aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-04-21 10:45:04 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:47 -0400
commit115666dfc733a6749d99bcf3b2fe3fa253218b36 (patch)
treef5909cb7105c736a919854e67d22ad53b64a4762
parent1d6ed0cb95a2f0839e1a31f1971dc37cd60c258a (diff)
KVM: Remove kvm_push_irq()
No longer used. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--arch/x86/kvm/x86.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h
index 2ab679102dcd..39350b252725 100644
--- a/arch/x86/kvm/x86.h
+++ b/arch/x86/kvm/x86.h
@@ -30,11 +30,4 @@ static inline u8 kvm_pop_irq(struct kvm_vcpu *vcpu)
30 clear_bit(word_index, &vcpu->arch.irq_summary); 30 clear_bit(word_index, &vcpu->arch.irq_summary);
31 return irq; 31 return irq;
32} 32}
33
34static inline void kvm_push_irq(struct kvm_vcpu *vcpu, u8 irq)
35{
36 set_bit(irq, vcpu->arch.irq_pending);
37 set_bit(irq / BITS_PER_LONG, &vcpu->arch.irq_summary);
38}
39
40#endif 33#endif