Skip to content

Commit

Permalink
Don't call memset to clean irq_desc; these data fields have already
Browse files Browse the repository at this point in the history
previously been initialized statically in kernel/irq/handle.c.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 0015365 commit 3959c79
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/mips/au1000/common/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion arch/mips/ite-boards/generic/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3959c79

Please sign in to comment.