提交 f41464fd 编写于 作者: K Kyle McMartin 提交者: Kyle McMartin

[PARISC] Fix thinko in cpu_data.lock removal

Need to remove the initializer as well. Doh.
Signed-off-by: NKyle McMartin <kyle@parisc-linux.org>
上级 3c97b5e9
...@@ -153,8 +153,6 @@ static int __init processor_probe(struct parisc_device *dev) ...@@ -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().
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册