diff options
author | Cédric Le Goater <clg@kaod.org> | 2019-01-02 06:57:37 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-01-09 09:28:14 +1100 |
commit | a0c493ae67c8176bba0385aaab49d6129838b525 (patch) | |
tree | 4a4e9edfd07e393f150acaadbed41015592755bb /include/hw/ppc/xive.h | |
parent | 1da85c2ae691d5afae106feb419720838a693aac (diff) | |
download | qemu-a0c493ae67c8176bba0385aaab49d6129838b525.zip qemu-a0c493ae67c8176bba0385aaab49d6129838b525.tar.gz qemu-a0c493ae67c8176bba0385aaab49d6129838b525.tar.bz2 |
spapr/xive: simplify the sPAPR IRQ qirq method for XIVE
The qirq routines of the XiveSource and the sPAPRXive model are only
used under the sPAPR IRQ backend. Simplify the overall call stack and
gather all the code under spapr_qirq_xive(). It will ease future
changes.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/xive.h')
-rw-r--r-- | include/hw/ppc/xive.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/hw/ppc/xive.h b/include/hw/ppc/xive.h index 18cd114..b05fe88 100644 --- a/include/hw/ppc/xive.h +++ b/include/hw/ppc/xive.h @@ -278,12 +278,6 @@ uint8_t xive_source_esb_set(XiveSource *xsrc, uint32_t srcno, uint8_t pq); void xive_source_pic_print_info(XiveSource *xsrc, uint32_t offset, Monitor *mon); -static inline qemu_irq xive_source_qirq(XiveSource *xsrc, uint32_t srcno) -{ - assert(srcno < xsrc->nr_irqs); - return xsrc->qirqs[srcno]; -} - static inline bool xive_source_irq_is_lsi(XiveSource *xsrc, uint32_t srcno) { assert(srcno < xsrc->nr_irqs); |