]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Pull out interrupt-reading code into a subroutine
authorPaul Mackerras <paulus@samba.org>
Fri, 6 Sep 2013 03:24:13 +0000 (13:24 +1000)
committerAlexander Graf <agraf@suse.de>
Thu, 17 Oct 2013 12:45:00 +0000 (14:45 +0200)
commit8ad4d07c396fce5569aa5607cf91d543cf4e0516
tree9f87a90c74857db4afa6754c1e37344d9e80d0c3
parent04ff46726be81ffd34d492b8b0459251f63daa42
KVM: PPC: Book3S HV: Pull out interrupt-reading code into a subroutine

This moves the code in book3s_hv_rmhandlers.S that reads any pending
interrupt from the XICS interrupt controller, and works out whether
it is an IPI for the guest, an IPI for the host, or a device interrupt,
into a new function called kvmppc_read_intr.  Later patches will
need this.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv_rmhandlers.S