[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>
This commit is contained in:
committed by
Kyle McMartin
parent
3c97b5e93f
commit
f41464fd84
@@ -153,8 +153,6 @@ static int __init processor_probe(struct parisc_device *dev)
|
|||||||
p->cpuid = cpuid; /* save CPU id */
|
p->cpuid = cpuid; /* save CPU id */
|
||||||
p->txn_addr = txn_addr; /* save CPU IRQ address */
|
p->txn_addr = txn_addr; /* save CPU IRQ address */
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
spin_lock_init(&p->lock);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** FIXME: review if any other initialization is clobbered
|
** FIXME: review if any other initialization is clobbered
|
||||||
** for boot_cpu by the above memset().
|
** for boot_cpu by the above memset().
|
||||||
|
Reference in New Issue
Block a user