mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
18244cfbc3
ppc_md.init_IRQ is not called if it is NULL, so we don't need an empty routine in the non PCI case. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
14 lines
325 B
C
14 lines
325 B
C
#ifndef _ISERIES_IRQ_H
|
|
#define _ISERIES_IRQ_H
|
|
|
|
#ifdef CONFIG_PCI
|
|
extern void iSeries_init_IRQ(void);
|
|
extern int iSeries_allocate_IRQ(HvBusNumber, HvSubBusNumber, u32);
|
|
extern void iSeries_activate_IRQs(void);
|
|
#else
|
|
#define iSeries_init_IRQ NULL
|
|
#endif
|
|
extern unsigned int iSeries_get_irq(void);
|
|
|
|
#endif /* _ISERIES_IRQ_H */
|