-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[POWERPC] iSeries_init_IRQ non-PCI tidy
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>
- Loading branch information
Stephen Rothwell
authored and
Paul Mackerras
committed
Nov 8, 2007
1 parent
f2205fb
commit 18244cf
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters