diff options
author | Paul Mackerras <paulus@samba.org> | 2014-06-30 20:51:12 +1000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-08-05 14:26:24 +0200 |
commit | e4d57e1ee1ab59f0cef0272800ac6c52e0ec814a (patch) | |
tree | 9659cfbdb348479f17090704034e7f9e545ee122 /virt/kvm/kvm_main.c | |
parent | 9957c86d659a4d5a2bed25ccbd3bfc9c3f25e658 (diff) | |
download | linux-e4d57e1ee1ab59f0cef0272800ac6c52e0ec814a.tar.bz2 |
KVM: Move irq notifier implementation into eventfd.c
This moves the functions kvm_irq_has_notifier(), kvm_notify_acked_irq(),
kvm_register_irq_ack_notifier() and kvm_unregister_irq_ack_notifier()
from irqchip.c to eventfd.c. The reason for doing this is that those
functions are used in connection with IRQFDs, which are implemented in
eventfd.c. In future we will want to use IRQFDs on platforms that
don't implement the GSI routing implemented in irqchip.c, so we won't
be compiling in irqchip.c, but we still need the irq notifiers. The
implementation is unchanged.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Tested-by: Eric Auger <eric.auger@linaro.org>
Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions