summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/smp.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-14 15:53:08 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-14 15:53:08 +0900
commitb195e46677bed5f044bc2eede65fd41c886ef5b2 (patch)
tree38c04c153d05171919bc95deb82ceb1e6b9bcd77 /arch/sh/kernel/smp.c
parentd780613acc0eeea89e1b3a7d9db765e0f2a4a950 (diff)
parent457b646189e47f9d48588809da3e806ec363f219 (diff)
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r--arch/sh/kernel/smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 6a27c657648..983e0792d5f 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -35,6 +35,8 @@ static inline void __init smp_store_cpu_info(unsigned int cpu)
{
struct sh_cpuinfo *c = cpu_data + cpu;
+ memcpy(c, &boot_cpu_data, sizeof(struct sh_cpuinfo));
+
c->loops_per_jiffy = loops_per_jiffy;
}