aboutsummaryrefslogtreecommitdiff
path: root/hw/xive.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-10-01 08:59:47 +0200
committerOliver O'Halloran <oohall@gmail.com>2019-11-04 10:52:47 +1100
commit75829014cd3362873aace14dcfdd9e687b2c1441 (patch)
tree6448c8bf137dc929f9d39a852ec16d26abac14dc /hw/xive.c
parent995572281435c1f59f4e6dd33053bfea1c4a7720 (diff)
downloadskiboot-75829014cd3362873aace14dcfdd9e687b2c1441.zip
skiboot-75829014cd3362873aace14dcfdd9e687b2c1441.tar.gz
skiboot-75829014cd3362873aace14dcfdd9e687b2c1441.tar.bz2
xive/p9: minor cleanup of the interface
The XIVE driver exposes an API to the core OPAL layer and to other OPAL drivers. This is a minor cleanup preparing ground for future XIVE logic. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'hw/xive.c')
-rw-r--r--hw/xive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xive.c b/hw/xive.c
index ec71932..5369369 100644
--- a/hw/xive.c
+++ b/hw/xive.c
@@ -2637,7 +2637,7 @@ static int64_t xive_source_set_xive(struct irq_source *is,
return __xive_set_irq_config(is, isn, server, prio, isn, true, true);
}
-void __xive_source_eoi(struct irq_source *is, uint32_t isn)
+static void __xive_source_eoi(struct irq_source *is, uint32_t isn)
{
struct xive_src *s = container_of(is, struct xive_src, is);
uint32_t idx = isn - s->esb_base;
@@ -4819,7 +4819,7 @@ static void xive_reset_mask_source_cb(struct irq_source *is,
}
}
-void reset_cpu_xive(void)
+void xive_cpu_reset(void)
{
struct cpu_thread *c = this_cpu();
struct xive_cpu_state *xs = c->xstate;