diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-09-30 19:03:42 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:31 -0400 |
commit | 3959c7957f0ab758066c8779483b18179c355257 (patch) | |
tree | b709b87527dbc65091f88cf95cbca86f8547a77e /arch/mips/au1000/common/irq.c | |
parent | 0015365cc68a5b6ad22dfdac19580aa9530731c3 (diff) |
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/au1000/common/irq.c')
-rw-r--r-- | arch/mips/au1000/common/irq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/au1000/common/irq.c b/arch/mips/au1000/common/irq.c index 112beb7fe001..1339a0979f66 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) | |||
446 | extern int au1xxx_ic0_nr_irqs; | 446 | extern int au1xxx_ic0_nr_irqs; |
447 | 447 | ||
448 | cp0_status = read_c0_status(); | 448 | cp0_status = read_c0_status(); |
449 | memset(irq_desc, 0, sizeof(irq_desc)); | ||
450 | set_except_vector(0, au1000_IRQ); | 449 | set_except_vector(0, au1000_IRQ); |
451 | 450 | ||
452 | /* Initialize interrupt controllers to a safe state. | 451 | /* Initialize interrupt controllers to a safe state. |