Skip to content

Commit

Permalink
interrutps: Export irq_find_source()
Browse files Browse the repository at this point in the history
It will be used by xive

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
  • Loading branch information
ozbenh authored and stewartsmith committed Jan 5, 2017
1 parent 4023cf3 commit b2f2d96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/interrupts.c
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions include/interrupts.h
Expand Up @@ -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);

Expand Down

0 comments on commit b2f2d96

Please sign in to comment.