summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-10-10 22:49:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-10-10 22:49:54 +0000
commit38114d5d33cfc8b81f3d9dda27a6b7a9f2e539c2 (patch)
tree0bb50d50312dea4b01371cfbfa481269c886916c /arch/mips/mips-boards
parent08b0be66ff8bc4be230c2f4bc017d30d73228a7f (diff)
Kill irq_cannonicalize.
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r--arch/mips/mips-boards/atlas/atlas_int.c9
-rw-r--r--arch/mips/mips-boards/malta/malta_int.c11
2 files changed, 0 insertions, 20 deletions
diff --git a/arch/mips/mips-boards/atlas/atlas_int.c b/arch/mips/mips-boards/atlas/atlas_int.c
index 843ad2459..68a14dd34 100644
--- a/arch/mips/mips-boards/atlas/atlas_int.c
+++ b/arch/mips/mips-boards/atlas/atlas_int.c
@@ -187,17 +187,8 @@ void free_irq(unsigned int irq, void *dev_id)
}
-int (*irq_cannonicalize)(int irq);
-
-static int atlas_irq_cannonicalize(int irq)
-{
- return irq; /* Sane hardware, sane code ... */
-}
-
-
void __init init_IRQ(void)
{
- irq_cannonicalize = atlas_irq_cannonicalize;
irq_setup();
}
diff --git a/arch/mips/mips-boards/malta/malta_int.c b/arch/mips/mips-boards/malta/malta_int.c
index d00d68752..6aa55118d 100644
--- a/arch/mips/mips-boards/malta/malta_int.c
+++ b/arch/mips/mips-boards/malta/malta_int.c
@@ -252,22 +252,11 @@ void free_irq(unsigned int irq, void *dev_id)
printk("Trying to free IRQ%d\n",irq);
}
-
-int (*irq_cannonicalize)(int irq);
-
-static int malta_irq_cannonicalize(int irq)
-{
- return ((irq == 2) ? 9 : irq);
-}
-
-
void __init init_IRQ(void)
{
- irq_cannonicalize = malta_irq_cannonicalize;
irq_setup();
}
-
static inline int get_int(int *irq)
{
/*