diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-11-18 01:36:55 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-11-18 01:36:55 +0000 |
commit | f677caea24e2707c538e4a57cad1f39cb85b1876 (patch) | |
tree | 612e3f2a14e09fed37fd115f2f8fb82ae29d803c /arch/mips/kernel | |
parent | abcd3a36b57c4583c8eff9d3d7a8ca3c645e8532 (diff) |
So, after reaching the 9-th nesting level of ifdefs in arch/mips/-
kernel/Makefile my tastelessness detector just freaked out. The
current concept of interrupt handling just doesn't scale to an ever
increasing number of target platforms. Bits of new interrupt handling
code are already in CVS and just to make it more clear that I won't
take patches continuing this uglyness in all eternity I rename
irq.c to old-irq.c which will only be compiled in when
CONFIG_ROTTEN_IRQ is selected.
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/Makefile | 9 | ||||
-rw-r--r-- | arch/mips/kernel/old-irq.c (renamed from arch/mips/kernel/irq.c) | 3 |
2 files changed, 7 insertions, 5 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index 2125c2f9c..5346c9d38 100644 --- a/arch/mips/kernel/Makefile +++ b/arch/mips/kernel/Makefile @@ -32,6 +32,10 @@ ifdef CONFIG_MIPS_FPE_MODULE M_OBJS += fpe.o endif +ifdef CONFIG_ROTTEN_IRQ + OX_OBJS += old-irq.o +endif + ifndef CONFIG_DECSTATION ifndef CONFIG_BAGET_MIPS ifndef CONFIG_ORION @@ -39,11 +43,6 @@ ifndef CONFIG_DECSTATION ifndef CONFIG_MIPS_MALTA ifndef CONFIG_MIPS_EV96100 O_OBJS += time.o - ifndef CONFIG_SGI_IP22 - ifndef CONFIG_MIPS_EV96100 - OX_OBJS += irq.o - endif - endif endif endif endif diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/old-irq.c index a00bb48d7..448d7538a 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/old-irq.c @@ -7,6 +7,9 @@ * * Copyright (C) 1992 Linus Torvalds * Copyright (C) 1994 - 2000 Ralf Baechle + * + * Old rotten IRQ code. To be killed as soon as everybody had converted or + * in 2.5.0, whatever comes first. */ #include <linux/config.h> #include <linux/errno.h> |