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)
commitc934243ca0aa464610a8b8ff85c7a777bf066ce4
tree9f87a90c74857db4afa6754c1e37344d9e80d0c3
parent218309b75b5e800af952362b5cbb086fa64f59ba
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