Stephen Rothwell | b08567cb | 2005-09-28 23:37:01 +1000 | [diff] [blame] | 1 | #ifndef _ISERIES_IRQ_H |
| 2 | #define _ISERIES_IRQ_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
Stephen Rothwell | 18244cf | 2007-11-04 13:22:46 +1100 | [diff] [blame] | 4 | #ifdef CONFIG_PCI |
Stephen Rothwell | 6b7feec | 2005-06-21 17:15:35 -0700 | [diff] [blame] | 5 | extern void iSeries_init_IRQ(void); |
Stephen Rothwell | 0d177df | 2006-05-19 16:46:28 +1000 | [diff] [blame] | 6 | extern int iSeries_allocate_IRQ(HvBusNumber, HvSubBusNumber, u32); |
Stephen Rothwell | 6b7feec | 2005-06-21 17:15:35 -0700 | [diff] [blame] | 7 | extern void iSeries_activate_IRQs(void); |
Stephen Rothwell | 18244cf | 2007-11-04 13:22:46 +1100 | [diff] [blame] | 8 | #else |
| 9 | #define iSeries_init_IRQ NULL |
| 10 | #endif |
Olaf Hering | 35a84c2 | 2006-10-07 22:08:26 +1000 | [diff] [blame] | 11 | extern unsigned int iSeries_get_irq(void); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
Stephen Rothwell | b08567cb | 2005-09-28 23:37:01 +1000 | [diff] [blame] | 13 | #endif /* _ISERIES_IRQ_H */ |