diff options
author | Stuart Yoder <stuart.yoder@freescale.com> | 2011-05-19 08:54:26 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-06-22 21:44:59 -0500 |
commit | 6ec36b5848a8336d3a0010727b9365c3254d2d2e (patch) | |
tree | 7876f705354d8b6e73a6079b5bd6561f0b8e2cbd /arch/powerpc/include/asm/irq.h | |
parent | 47fe819e7555b31d24f8a11d9b2568d8f5de8b01 (diff) |
powerpc: make irq_choose_cpu() available to all PIC drivers
Move irq_choose_cpu() into arch/powerpc/kernel/irq.c so that it can be used
by other PIC drivers. The function is not MPIC-specific.
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/irq.h')
-rw-r--r-- | arch/powerpc/include/asm/irq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h index 1bff591f7f72..c57a28e52b64 100644 --- a/arch/powerpc/include/asm/irq.h +++ b/arch/powerpc/include/asm/irq.h @@ -330,5 +330,7 @@ extern int call_handle_irq(int irq, void *p1, struct thread_info *tp, void *func); extern void do_IRQ(struct pt_regs *regs); +int irq_choose_cpu(const struct cpumask *mask); + #endif /* _ASM_IRQ_H */ #endif /* __KERNEL__ */ |