From: Kyle McMartin Date: Tue, 12 Dec 2006 02:03:18 +0000 (-0500) Subject: [PARISC] Fix thinko in cpu_data.lock removal X-Git-Tag: v2.6.21-rc2~35^2~47^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f41464fd84463dee89d53750cb74f6be30b31620;p=linux-2.6-omap-h63xx.git [PARISC] Fix thinko in cpu_data.lock removal Need to remove the initializer as well. Doh. Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index fb81e5687e7..0af1fad2fc6 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -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().