[PARISC] Fix thinko in cpu_data.lock removal
authorKyle McMartin <kyle@parisc-linux.org>
Tue, 12 Dec 2006 02:03:18 +0000 (21:03 -0500)
committerKyle McMartin <kyle@athena.road.mcmartin.ca>
Tue, 12 Dec 2006 02:03:44 +0000 (21:03 -0500)
Need to remove the initializer as well. Doh.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
arch/parisc/kernel/processor.c

index fb81e5687e7c8a69c456a816c179cc26840d3239..0af1fad2fc65271ca813e487feb1a0495c68df52 100644 (file)
@@ -153,8 +153,6 @@ 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
-       spin_lock_init(&p->lock);
-
        /*
        ** FIXME: review if any other initialization is clobbered
        **      for boot_cpu by the above memset().