commit | 583617b7866cfcc0b3830a4b7ab20f218d180f67 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Mon Dec 21 20:21:23 2009 +0100 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:41 2010 -0300 |
tree | 9be91415974c7e1aa8e1486b5e20e0b734daddaa | |
parent | 980da6ce573b7c40886406674ff8f022a975e65e [diff] |
KVM: powerpc: Move vector to irqprio resolving to separate function We're using a switch table to find the irqprio that belongs to a specific interrupt vector. This table is part of the interrupt inject logic. Since we'll add a new function to stop interrupts, let's move this table out of the injection logic into a separate function. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Acked-by: Hollis Blanchard <hollis@penguinppc.org> Signed-off-by: Avi Kivity <avi@redhat.com>