summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2006-12-12 03:03:18 +0100
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2006-12-12 03:03:44 +0100
commitf41464fd84463dee89d53750cb74f6be30b31620 (patch)
tree46152f5b9473b21a147063d7463abc02e64cb50e
parent[PARISC] Move spinlock_t out of struct cpu_data (diff)
downloadlinux-f41464fd84463dee89d53750cb74f6be30b31620.tar.xz
linux-f41464fd84463dee89d53750cb74f6be30b31620.zip
[PARISC] Fix thinko in cpu_data.lock removal
Need to remove the initializer as well. Doh. Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r--arch/parisc/kernel/processor.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c
index fb81e5687e7c..0af1fad2fc65 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().