vserver 1.9.5.x5
[linux-2.6.git] / arch / parisc / kernel / processor.c
index b4931ad..13b721c 100644 (file)
@@ -153,7 +153,7 @@ static int __init processor_probe(struct parisc_device *dev)
        p->cpuid = cpuid;       /* save CPU id */
        p->txn_addr = txn_addr; /* save CPU IRQ address */
 #ifdef CONFIG_SMP
-       p->lock = SPIN_LOCK_UNLOCKED;
+       spin_lock_init(&p->lock);
 
        /*
        ** FIXME: review if any other initialization is clobbered