[Skiboot] [PATCH 03/60] interrutps: Export irq_find_source()
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Dec 22 14:16:11 AEDT 2016
It will be used by xive
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
core/interrupts.c | 2 +-
include/interrupts.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/interrupts.c b/core/interrupts.c
index 1cdf3e4..d567b30 100644
--- a/core/interrupts.c
+++ b/core/interrupts.c
@@ -101,7 +101,7 @@ void unregister_irq_source(uint32_t start, uint32_t count)
assert(0);
}
-static struct irq_source *irq_find_source(uint32_t isn)
+struct irq_source *irq_find_source(uint32_t isn)
{
struct irq_source *is;
diff --git a/include/interrupts.h b/include/interrupts.h
index 6b55099..61149cf 100644
--- a/include/interrupts.h
+++ b/include/interrupts.h
@@ -295,6 +295,7 @@ extern void __register_irq_source(struct irq_source *is, bool secondary);
extern void register_irq_source(const struct irq_source_ops *ops, void *data,
uint32_t start, uint32_t count);
extern void unregister_irq_source(uint32_t start, uint32_t count);
+extern struct irq_source *irq_find_source(uint32_t isn);
extern uint32_t get_psi_interrupt(uint32_t chip_id);
--
2.9.3
More information about the Skiboot
mailing list