mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
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>
This commit is contained in:
parent
0015365cc6
commit
3959c7957f
@ -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.
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user