summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.h
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2009-04-21 16:45:04 +0200
committerAvi Kivity <avi@redhat.com>2009-06-10 10:48:47 +0200
commit115666dfc733a6749d99bcf3b2fe3fa253218b36 (patch)
treef5909cb7105c736a919854e67d22ad53b64a4762 /arch/x86/kvm/x86.h
parentKVM: Remove inject_pending_vectors() callback (diff)
downloadlinux-115666dfc733a6749d99bcf3b2fe3fa253218b36.tar.xz
linux-115666dfc733a6749d99bcf3b2fe3fa253218b36.zip
KVM: Remove kvm_push_irq()
No longer used. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
-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)
clear_bit(word_index, &vcpu->arch.irq_summary);
return irq;
}
-
-static inline void kvm_push_irq(struct kvm_vcpu *vcpu, u8 irq)
-{
- set_bit(irq, vcpu->arch.irq_pending);
- set_bit(irq / BITS_PER_LONG, &vcpu->arch.irq_summary);
-}
-
#endif