Selaa lähdekoodia

[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>
Kyle McMartin 18 vuotta sitten
vanhempi
commit
f41464fd84
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      arch/parisc/kernel/processor.c

+ 0 - 2
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->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().