aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ite-boards
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-09-30 19:03:42 -0400
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 14:32:31 -0400
commit3959c7957f0ab758066c8779483b18179c355257 (patch)
treeb709b87527dbc65091f88cf95cbca86f8547a77e /arch/mips/ite-boards
parent0015365cc68a5b6ad22dfdac19580aa9530731c3 (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/ite-boards')
-rw-r--r--arch/mips/ite-boards/generic/irq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/ite-boards/generic/irq.c b/arch/mips/ite-boards/generic/irq.c
index 16014e6ebf50..e67f96129491 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)
181 int i; 181 int i;
182 unsigned long flags; 182 unsigned long flags;
183 183
184 memset(irq_desc, 0, sizeof(irq_desc));
185 set_except_vector(0, it8172_IRQ); 184 set_except_vector(0, it8172_IRQ);
186 185
187 /* mask all interrupts */ 186 /* mask all interrupts */