summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-01 00:03:42 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:31 +0100
commit3959c7957f0ab758066c8779483b18179c355257 (patch)
treeb709b87527dbc65091f88cf95cbca86f8547a77e /arch/mips
parent0015365cc68a5b6ad22dfdac19580aa9530731c3 (diff)
downloadop-kernel-dev-3959c7957f0ab758066c8779483b18179c355257.zip
op-kernel-dev-3959c7957f0ab758066c8779483b18179c355257.tar.gz
Don't call memset to clean irq_desc; these data fields have already
previously been initialized statically in kernel/irq/handle.c. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/au1000/common/irq.c1
-rw-r--r--arch/mips/ite-boards/generic/irq.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/au1000/common/irq.c b/arch/mips/au1000/common/irq.c
index 112beb7..1339a09 100644
--- a/arch/mips/au1000/common/irq.c
+++ b/arch/mips/au1000/common/irq.c
@@ -446,7 +446,6 @@ void __init arch_init_irq(void)
extern int au1xxx_ic0_nr_irqs;
cp0_status = read_c0_status();
- memset(irq_desc, 0, sizeof(irq_desc));
set_except_vector(0, au1000_IRQ);
/* Initialize interrupt controllers to a safe state.
diff --git a/arch/mips/ite-boards/generic/irq.c b/arch/mips/ite-boards/generic/irq.c
index 16014e6..e67f961 100644
--- a/arch/mips/ite-boards/generic/irq.c
+++ b/arch/mips/ite-boards/generic/irq.c
@@ -181,7 +181,6 @@ void __init arch_init_irq(void)
int i;
unsigned long flags;
- memset(irq_desc, 0, sizeof(irq_desc));
set_except_vector(0, it8172_IRQ);
/* mask all interrupts */
OpenPOWER on IntegriCloud