diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-03-04 01:03:48 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-08 23:03:25 -0500 |
commit | be9e95b17e150c7b6933cb2f1e1c46a501976080 (patch) | |
tree | a808844cd3b013c93b271499bd95dc04bfbadddb /arch | |
parent | 57190708f1f52d732d94fa21a8e576302d384d33 (diff) |
[POWERPC] Make iSeries build without CONFIG_PCI
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/iseries/irq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/irq.c b/arch/powerpc/platforms/iseries/irq.c index 5225abfafd9b..9f9972bc69eb 100644 --- a/arch/powerpc/platforms/iseries/irq.c +++ b/arch/powerpc/platforms/iseries/irq.c | |||
@@ -337,6 +337,8 @@ unsigned int iSeries_get_irq(void) | |||
337 | return irq; | 337 | return irq; |
338 | } | 338 | } |
339 | 339 | ||
340 | #ifdef CONFIG_PCI | ||
341 | |||
340 | static int iseries_irq_host_map(struct irq_host *h, unsigned int virq, | 342 | static int iseries_irq_host_map(struct irq_host *h, unsigned int virq, |
341 | irq_hw_number_t hw) | 343 | irq_hw_number_t hw) |
342 | { | 344 | { |
@@ -384,3 +386,4 @@ void __init iSeries_init_IRQ(void) | |||
384 | "failed with rc 0x%x\n", ret); | 386 | "failed with rc 0x%x\n", ret); |
385 | } | 387 | } |
386 | 388 | ||
389 | #endif /* CONFIG_PCI */ | ||