linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / mips / kernel / irq.c
index a828ca2..7d93992 100644 (file)
@@ -77,7 +77,7 @@ int show_interrupts(struct seq_file *p, void *v)
        if (i < NR_IRQS) {
                spin_lock_irqsave(&irq_desc[i].lock, flags);
                action = irq_desc[i].action;
-               if (!action) 
+               if (!action)
                        goto skip;
                seq_printf(p, "%3d: ",i);
 #ifndef CONFIG_SMP
@@ -125,7 +125,7 @@ void __init init_IRQ(void)
                irq_desc[i].action  = NULL;
                irq_desc[i].depth   = 1;
                irq_desc[i].handler = &no_irq_type;
-               irq_desc[i].lock = SPIN_LOCK_UNLOCKED;
+               spin_lock_init(&irq_desc[i].lock);
        }
 
        arch_init_irq();